mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Fix dictionary merging order
We want to override defaults with config, not the other way around
This commit is contained in:
@@ -41,7 +41,7 @@ def apply_yaml_config(path, c):
|
||||
if os.path.exists(path):
|
||||
with open(path) as f:
|
||||
# FIXME: Figure out correct order of merging here
|
||||
tljh_config = _merge_dictionaries(yaml.safe_load(f), default)
|
||||
tljh_config = _merge_dictionaries(dict(default), yaml.safe_load(f))
|
||||
else:
|
||||
tljh_config = copy.deepcopy(default)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user