Commit fbd75a3f authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix

parent e3514f6d
Pipeline #24415 passed with stages
in 3 minutes and 9 seconds
......@@ -296,9 +296,9 @@ class Environment(Model):
for n in need_cert:
conf = json.loads(n.config)
conf["cert"] = certificate[s]["cert"]
conf["cert_key"] = certificate[s]["key"]
n.config = json.dumps(conf.decode("utf-8"), sort_keys=True)
conf["cert"] = str(certificate[s]["cert"])
conf["cert_key"] = str(certificate[s]["key"])
n.config = json.dumps(conf, sort_keys=True)
n.save()
@staticmethod
......
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