Merge "Fix stack create verbosity"

This commit is contained in:
Zuul 2020-05-04 03:56:56 +00:00 committed by Gerrit Code Review
commit 5951a20650
2 changed files with 3 additions and 2 deletions

View File

@ -234,7 +234,7 @@ def playbook_verbosity(self):
if self.app.options.debug:
return 3
else:
if self.app_args.verbose_level < 1:
if self.app_args.verbose_level <= 1:
return 0
else:
return self.app_args.verbose_level

View File

@ -110,7 +110,8 @@ def deploy_and_wait(log, clients, stack, plan_name, verbose_level,
status='DEPLOY_FAILED')
raise
verbose_events = verbose_level >= 1
# we always want the heat stack output while it's going.
verbose_events = True
# TODO(rabi) Simplify call to get events as we don't need to wait
# for stack to be ready anymore i.e just get the events.