Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
b28a3e8b
Commit
b28a3e8b
authored
Nov 28, 2008
by
Michael Hanselmann
Browse files
gnt-job: Print message from CancelJob to standard output
Reviewed-by: iustinp
parent
fbf0262f
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/gnt-job
View file @
b28a3e8b
...
...
@@ -173,8 +173,10 @@ def CancelJobs(opts, args):
client
=
GetClient
()
for
job_id
in
args
:
client
.
CancelJob
(
job_id
)
(
success
,
msg
)
=
client
.
CancelJob
(
job_id
)
ToStdout
(
msg
)
# TODO: Different exit value if not all jobs were canceled?
return
0
...
...
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