Fix the get_deployment_status call

The get_deployment_status function waits for a keyworded,
variable-length argument dictionary. This patch fixes that issue by
adding the right keyword for 'plan'.

This patch also adds a space in the output string in order to be
well-formatted.

Change-Id: I36fc4650e8481024ad985408b7ac5652acf26ec4
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
(cherry picked from commit c246e80bfa)
(cherry picked from commit c54ed778b5)
This commit is contained in:
Gael Chamoulaud (Strider) 2021-01-25 18:56:13 +01:00 committed by Gael Chamoulaud
parent 38ab043d3c
commit 018a3fe530
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ class TripleOValidatorRun(command.Command):
"inventory or use authentication.")
else:
if plan:
status = deployment.get_deployment_status(clients, plan)
status = deployment.get_deployment_status(clients, plan=plan)
if not status or status in NO_VALIDATION_STATE:
raise exceptions.CommandError(
"The plan and the stack '{}' doesn't exist OR are "