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())
print(t)
else:
msg = "No Validation has been run, please check your parameters."
raise exceptions.CommandError(msg)
LOG.info(
_("No Validation has been run, please check your parameters."))
if not parsed_args.static_inventory:
LOG.debug(_('Removing static tripleo ansible inventory file'))