diff options
Diffstat (limited to 'moon_forming')
-rw-r--r-- | moon_forming/conf2consul.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/moon_forming/conf2consul.py b/moon_forming/conf2consul.py index 46c99d5c..148bf923 100644 --- a/moon_forming/conf2consul.py +++ b/moon_forming/conf2consul.py @@ -86,14 +86,13 @@ def main(): # put("slave", data_config["slave"]) # put("docker", data_config["docker"]) put("logging", data_config["logging"]) - put("components_port_start", data_config["components"]["port_start"]) + # put("components_port_start", data_config["components"]["port_start"]) for _key, _value in data_config["components"].items(): - if type(_value) is dict: - put("components/{}".format(_key), data_config["components"][_key]) + put("components/{}".format(_key), data_config["components"][_key]) - for _key, _value in data_config["plugins"].items(): - put("plugins/{}".format(_key), data_config["plugins"][_key]) + # for _key, _value in data_config["plugins"].items(): + # put("plugins/{}".format(_key), data_config["plugins"][_key]) for _key, _value in data_config["openstack"].items(): put("openstack/{}".format(_key), data_config["openstack"][_key]) |