Skip to content

Commit 8c5c25b

Browse files
author
Matthew Fisher
committed
fix(controller/registry): add old config vars
In child images, we weren't dumping the old config variables from previous images. This would fester and would run into issues such as environment variables going missing. Adding them back solves this issue.
1 parent 87aac86 commit 8c5c25b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

registry/private.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _construct_env(env, config):
151151
if k in config:
152152
# update values defined by config
153153
v = config.pop(k)
154-
new_env.append("{}={}".format(k, v))
154+
new_env.append("{}={}".format(k, v))
155155
# add other config ENV items
156156
for k, v in config.items():
157157
new_env.append("{}={}".format(k, v))

0 commit comments

Comments
 (0)