Commit 0b600f63 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Allow empty nomad.yaml.

parent 50ae1617
Pipeline #79126 passed with stages
in 25 minutes and 15 seconds
......@@ -401,7 +401,8 @@ def load_config(config_file: str = os.environ.get('NOMAD_CONFIG', 'nomad.yaml'))
logger.error('config key %s does not exist' % key)
adapt(globals(), config_data)
if config_data is not None:
adapt(globals(), config_data)
# load env and override yaml and defaults
kwargs = {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment