diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-11-07 16:00:14 -0700 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-11-07 16:00:14 -0700 |
| commit | 31dfd95a2d97086d3e56d524c53f4a5a2cf0eb45 (patch) | |
| tree | 902116226857de989852fa05c64acfce670ba4f2 /libs/environment.py | |
| parent | 3429744c92cf794383c2ddb5a33328e189304917 (diff) | |
adding glance gateway
Diffstat (limited to 'libs/environment.py')
| -rw-r--r-- | libs/environment.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libs/environment.py b/libs/environment.py index 7e9027f..137c51a 100644 --- a/libs/environment.py +++ b/libs/environment.py @@ -13,8 +13,6 @@ class Environment(object): os_user_domain_name, os_identity_api_version, os_image_api_version, - elements_path, - manifests_path, extra_envs={}): if os_auth_url is None or \ os_project_name is None or \ @@ -24,9 +22,7 @@ class Environment(object): os_project_domain_name is None or \ os_user_domain_name is None or \ os_identity_api_version is None or \ - os_image_api_version is None or \ - elements_path is None or \ - manifests_path is None: + os_image_api_version is None: print("All required environment arguments must have a value. You passed in:" + \ "\nos_auth_url = " + str(os_auth_url) + \ "\nos_project_name = " + str(os_project_name) + \ @@ -36,9 +32,7 @@ class Environment(object): "\nos_project_domain_name = " + str(os_project_domain_name) + \ "\nos_user_domain_name = " + str(os_user_domain_name) + \ "\nos_identity_api_version = " + str(os_identity_api_version) + \ - "\nos_image_api_version = " + str(os_image_api_version) + \ - "\nelements_path = " + str(elements_path) + \ - "\nmanifests_path = " + str(manifests_path)) + "\nos_image_api_version = " + str(os_image_api_version)) sys.exit(1) else: self.os_auth_url = os_auth_url @@ -50,8 +44,6 @@ class Environment(object): self.os_user_domain_name = os_user_domain_name self.os_identity_api_version = os_identity_api_version self.os_image_api_version = os_image_api_version - self.elements_path = elements_path - self.manifests_path = manifests_path self.extra_envs = {} for key, value in [(k, v) for (k, v) in extra_envs.items() if v]: self.extra_envs[key] = value |
