diff --git a/dvc/command/init.py b/dvc/command/init.py index 4af5b8372..933f0e446 100644 --- a/dvc/command/init.py +++ b/dvc/command/init.py @@ -20,6 +20,8 @@ class CmdInit(CmdBase): DataDir = {} CacheDir = {} StateDir = {} + +# Supported clouds: AWS, GCP Cloud = AWS StoragePath = diff --git a/dvc/config.py b/dvc/config.py index a7df6da27..333651b77 100644 --- a/dvc/config.py +++ b/dvc/config.py @@ -147,7 +147,7 @@ class Config(ConfigI): @property def gc_project_name(self): - return self._config['GC']['ProjectName'] + return self._config['GCP']['ProjectName'] @property def cloud(self): @@ -237,7 +237,7 @@ class Config(ConfigI): errors.append('can\'t find aws credentials.') self._aws_creds = creds elif cloud == 'gcp': - project = self._config['GC'].get('ProjectName', None) + project = self._config['GCP'].get('ProjectName', None) if project is None or len(project) < 1: errors.append('can\'t read google cloud project name. Please set ProjectName in section GC.') else: