Revision 64be07b1 lib/client/gnt_instance.py
b/lib/client/gnt_instance.py | ||
---|---|---|
486 | 486 |
osparams=opts.osparams) |
487 | 487 |
jex.QueueJob(instance_name, op) |
488 | 488 |
|
489 |
jex.WaitOrShow(not opts.submit_only) |
|
490 |
return 0 |
|
489 |
results = jex.WaitOrShow(not opts.submit_only) |
|
490 |
|
|
491 |
if compat.all(map(compat.fst, results)): |
|
492 |
return constants.EXIT_SUCCESS |
|
493 |
else: |
|
494 |
return constants.EXIT_FAILURE |
|
491 | 495 |
|
492 | 496 |
|
493 | 497 |
def RemoveInstance(opts, args): |
Also available in: Unified diff