Don't run config-download for --stack-only

We now seem to run config-download irrespective of the
--stack-only flag. This moves the config-download
related code within the if block.

Change-Id: I0185cb54ac32e1ac8558d22ba4c735a02e80a470
Closes-Bug: #1887811
This commit is contained in:
Rabi Mishra 2020-07-16 20:49:38 +05:30
parent 9c53cb3ef5
commit 5805ee4dbe
1 changed files with 43 additions and 44 deletions

View File

@ -1017,7 +1017,6 @@ class DeployOvercloud(command.Command):
return
try:
if parsed_args.config_download:
print("Deploying overcloud configuration")
deployment.set_deployment_status(