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