Merge "Replace exception with LOG.info" into stable/train

This commit is contained in:
Zuul 2021-04-24 05:14:04 +00:00 committed by Gerrit Code Review
commit 369280c82e
1 changed files with 2 additions and 2 deletions

View File

@ -456,8 +456,8 @@ class TripleOValidatorRun(command.Command):
t.add_row(r.values()) t.add_row(r.values())
print(t) print(t)
else: else:
msg = "No Validation has been run, please check your parameters." LOG.info(
raise exceptions.CommandError(msg) _("No Validation has been run, please check your parameters."))
if not parsed_args.static_inventory: if not parsed_args.static_inventory:
LOG.debug(_('Removing static tripleo ansible inventory file')) LOG.debug(_('Removing static tripleo ansible inventory file'))