Skip to content

Commit

Permalink
Merge pull request #59 from ocadotechnology/fix-new-parameter
Browse files Browse the repository at this point in the history
fix: fix handling of a new parameter
  • Loading branch information
sitnik committed Dec 31, 2020
2 parents 9ac1d41 + bfdeb6d commit 6bfa210
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mirroroperator/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ def safely_eval_env(env_var):
ca_certificate_bundle=os.environ.get("CA_CERTIFICATE_BUNDLE"),
)
# HOSTESS_DOCKER_REGISTRY is deprecated in favor of DOCKER_REGISTRY
if env_vars.docker_registry != "docker.io":
env_vars.hostess_docker_registry = env_vars.docker_registry
if env_vars["docker_registry"] != "docker.io":
env_vars["hostess_docker_registry"] = env_vars["docker_registry"]

operator = MirrorOperator(env_vars)

sleep_time = os.environ.get("SECONDS_BETWEEN_STREAMS", 30)
Expand Down

0 comments on commit 6bfa210

Please sign in to comment.