Use the passed in workflow when creating or updating a plan

This was previously changed by mistake in a bad merge which
caused th CLI to always call the create plan workflow.
See: I9d77880e82ec429a2ea340df87c89055a09e9720

Partial-Bug: #1622683
Change-Id: I8967b8badfeee1ba9ad473171103c7c37d6f7209
(cherry picked from commit 54d814d653)
This commit is contained in:
Dougal Matthews 2016-09-21 11:01:40 +00:00
parent b298e2a364
commit b270ec99e5
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@ def _create_update_deployment_plan(clients, workflow, **workflow_input):
queue_name = workflow_input['queue_name']
execution = base.start_workflow(
workflow_client,
'tripleo.plan_management.v1.create_deployment_plan',
workflow_client, workflow,
workflow_input=workflow_input
)