mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
config: rename RemoteConfig and CacheConfig variables in CmdRemoteConfig and CmdCacheDir class
This commit is contained in:
@@ -10,10 +10,10 @@ from dvc.cache import CacheConfig
|
||||
class CmdCacheDir(CmdConfig):
|
||||
def __init__(self, args):
|
||||
super(CmdCacheDir, self).__init__(args)
|
||||
self.config = CacheConfig(self.config)
|
||||
self.cache_config = CacheConfig(self.config)
|
||||
|
||||
def run(self):
|
||||
self.config.set_dir(self.args.value, level=self.args.level)
|
||||
self.cache_config.set_dir(self.args.value, level=self.args.level)
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user