Commit 180515f0 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Fix services with - in name. replace it with _

parent fd9d8aad
......@@ -294,8 +294,9 @@ class Environment(Model):
def name_config(config, service):
cfg = copy.deepcopy(config)
sv = service.replace("-", "_")
for k in cfg.keys():
cfg["_".join([service, k])] = cfg.pop(k)
cfg["_".join([sv, k])] = cfg.pop(k)
return cfg
def get_service_config(self):
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