Commit ee87fef4 authored by Łukasz Nowak's avatar Łukasz Nowak

fixup! slapgrid: Support [manager:x] sections

parent f94d260c
......@@ -208,11 +208,11 @@ def merged_options(args, configp):
"reload_config_cmd",
"slapos node restart firewall")
key = 'manager:'
key = 'manager'
options[key] = {}
for section in configp.sections():
if section.startswith(key):
manager = section[len(key):]
manager = section[len(key)+1:]
options[key][manager] = dict(configp.items(section))
return options
......
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