Skip to content

Commit

Permalink
Fix reading configuration from ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Sep 29, 2023
1 parent a33d4c2 commit a694658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1869,7 +1869,7 @@ def get_config(override_conffile=None,

# priority: env, overrides, config
if env_key in os.environ:
value = os.environ["env_key"]
value = os.environ[env_key]
elif name in overrides:
value = overrides.pop(name)
elif ini_key in overrides:
Expand Down

0 comments on commit a694658

Please sign in to comment.