GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit 6667e1b4 authored by payno's avatar payno

[resources][processconfig] fix '_check_dump_file' ignore output section and "pipeline/save_steps"

parent 94c92de5
Pipeline #46422 passed with stage
in 5 minutes and 40 seconds
......@@ -579,9 +579,12 @@ class ProcessConfig:
"configuration/nabu_config"
)
)
sections_to_ignore = ["reconstruction"]
sections_to_ignore = ["reconstruction", "output"]
for section in sections_to_ignore:
filedump_nabu_config[section] = self.nabu_config[section]
if "pipeline" in filedump_nabu_config and "save_steps" in filedump_nabu_config["pipeline"]:
filedump_nabu_config["pipeline"]["save_steps"] = self.nabu_config["pipeline"]["save_steps"]
filedump_nabu_config[section] = self.nabu_config[section]
diff = compare_dicts(filedump_nabu_config, self.nabu_config)
if diff is not None:
msg = "Nabu configuration in file %s differ from the current one: %s" % (process_file, diff)
......
Markdown is supported
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