Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pavel Kuzin
tower
Commits
58ec603d
Commit
58ec603d
authored
Jul 03, 2017
by
Aleksey Shirokih
Browse files
fix tests
parent
192ac3a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
tower/api/service.py
View file @
58ec603d
...
...
@@ -214,8 +214,7 @@ class ServiceAPI(API):
pool
=
s
.
pool
.
id
if
s
.
pool
else
None
c
=
ncfg
.
get
((
pool
,
s
.
service
,
s
.
node
.
id
))
if
c
:
if
c
[
"n_instances"
]
!=
s
.
n_instances
or
\
c
[
"loglevel"
]
!=
s
.
loglevel
:
if
c
[
"n_instances"
]
!=
s
.
n_instances
or
c
[
"loglevel"
]
!=
s
.
loglevel
:
# Changed
s
.
n_instances
=
c
[
"n_instances"
]
s
.
loglevel
=
c
[
"loglevel"
]
...
...
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