We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 463b537 commit 7bb769fCopy full SHA for 7bb769f
1 file changed
rootfs/deploy.py
@@ -58,7 +58,8 @@ def get_registry_name():
58
elif registryLocation == "gcr":
59
return hostname + "/" + os.getenv('DEIS_REGISTRY_GCS_PROJ_ID')
60
else:
61
- return os.getenv("DEIS_REGISTRY_SERVICE_HOST") + ":" + os.getenv("DEIS_REGISTRY_SERVICE_PORT") # noqa: E501
+ return "{}:{}".format(os.getenv("DEIS_REGISTRY_SERVICE_HOST"),
62
+ os.getenv("DEIS_REGISTRY_SERVICE_PORT"))
63
64
65
def download_file(tar_path):
@@ -80,6 +81,7 @@ def download_file(tar_path):
80
81
]
82
subprocess.check_call(command)
83
84
+
85
tar_path = os.getenv('TAR_PATH')
86
if tar_path:
87
if os.path.exists("/var/run/secrets/deis/objectstore/creds/"):
0 commit comments