Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
414320ce
Commit
414320ce
authored
Mar 20, 2019
by
Markus Scheidgen
Browse files
Bufix in handling of config keys with _.
parent
ea59830a
Pipeline
#45610
passed with stages
in 24 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/config.py
View file @
414320ce
...
...
@@ -194,6 +194,8 @@ def apply(config, key, value) -> None:
if
current_value
is
None
:
if
len
(
path
)
==
0
:
raise
KeyError
continue
if
isinstance
(
current_value
,
NomadConfig
):
child_config
=
current_value
child_segment
=
None
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment