Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Konstantin A
tower
Commits
fd9d8aad
Commit
fd9d8aad
authored
Mar 07, 2018
by
Aleksey Shirokih
Browse files
Fix old install
parent
dc87e579
Changes
1
Hide whitespace changes
Inline
Side-by-side
tower/migrations/035_remove_instances.py
View file @
fd9d8aad
...
...
@@ -205,8 +205,9 @@ def migrate(migrator):
ct_promote_nodes
.
add
(
srv
.
node
)
if
srv
.
service
==
'grafana'
:
conf
[
'pg_password'
]
=
conf
[
'password'
]
del
conf
[
'password'
]
conf
[
'pg_password'
]
=
conf
.
get
(
'password'
,
'grafana'
)
if
"password"
in
conf
:
del
conf
[
'password'
]
if
srv
.
service
==
'mongod'
:
conf
[
'db'
]
=
conf
[
'mongod_db'
]
del
conf
[
'mongod_db'
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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