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
114413e9
Commit
114413e9
authored
Mar 15, 2018
by
Aleksey Shirokih
Browse files
Fix noc_migrate scripts
parent
857d52ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
tower/migrations/033_remove_custom.py
View file @
114413e9
...
...
@@ -44,11 +44,11 @@ def migrate(migrator):
"version"
:
env
.
custom_version
or
"master"
,
}
config
[
None
][
"noc"
]
=
{
"
noc_
root"
:
env
.
sys_prefix
or
"/opt/noc"
,
"
noc_
repo"
:
env
.
repo
or
"https://github.com/nocproject/noc.git"
,
"
noc_
version"
:
env
.
version
or
"microservices"
,
"
noc_
user"
:
env
.
sys_user
or
"noc"
,
"
noc_
group"
:
env
.
sys_group
or
"noc"
"root"
:
env
.
sys_prefix
or
"/opt/noc"
,
"repo"
:
env
.
repo
or
"https://github.com/nocproject/noc.git"
,
"version"
:
env
.
version
or
"microservices"
,
"user"
:
env
.
sys_user
or
"noc"
,
"group"
:
env
.
sys_group
or
"noc"
}
match
=
rx_pk
.
search
(
env
.
cert
)
...
...
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