Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
tower
Commits
fbd75a3f
Commit
fbd75a3f
authored
Jun 24, 2020
by
Dmitry Lukhtionov
Browse files
Fix
parent
e3514f6d
Pipeline
#24415
passed with stages
in 3 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tower/models/environment.py
View file @
fbd75a3f
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment