Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
EOLE
Zéphir
Services
Server Manager
Commits
5cf9d3ff
Commit
5cf9d3ff
authored
Feb 08, 2019
by
Matthieu Lamalle
Browse files
correction on result job if not success
parent
a15332aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/controller
View file @
5cf9d3ff
...
...
@@ -207,9 +207,10 @@ class ServerRunner(ZephirCommonController):
else
:
dico
[
'command'
]
=
result
[
'arg'
]
if
dico
[
'executed'
]:
dico
[
'success'
]
=
result
[
'success'
]
dico
[
'retcode'
]
=
result
[
'retcode'
]
dico
[
'return'
]
=
result
[
'return'
]
if
'success'
in
result
:
dico
[
'success'
]
=
result
[
'success'
]
dico
[
'retcode'
]
=
result
[
'retcode'
]
dico
[
'return'
]
=
result
[
'return'
]
return
dico
@
register_wamp
(
'v1.server.exec.list'
,
notification_uri
=
None
,
database
=
True
)
...
...
Write
Preview
Markdown
is supported
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