Merge "[train-only] Set rc = 0 for successful standalone/output-only action" into stable/train

This commit is contained in:
Zuul 2021-01-29 07:19:13 +00:00 committed by Gerrit Code Review
commit 62fd486450
1 changed files with 1 additions and 0 deletions

View File

@ -1397,6 +1397,7 @@ class Deploy(command.Command):
else:
# We only get here if no errors
if parsed_args.output_only:
rc = 0
success_messaging = OUTPUT_ONLY_COMPLETION_MESSAGE
else:
success_messaging = DEPLOY_COMPLETION_MESSAGE