From 0eb3573c21f2ed66cebe2895ea21d3861c1d6af2 Mon Sep 17 00:00:00 2001 From: Rabi Mishra Date: Thu, 27 Feb 2020 07:32:50 +0530 Subject: [PATCH] Fix create_container regression This is a regression from https://review.opendev.org/#/c/708279/ Change-Id: I3819008275f6a5288ec074c860ff2746f589193e Closes-Bug: #1864862 --- tripleoclient/workflows/plan_management.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tripleoclient/workflows/plan_management.py b/tripleoclient/workflows/plan_management.py index 261f6b3ae..f0b5d9a8f 100644 --- a/tripleoclient/workflows/plan_management.py +++ b/tripleoclient/workflows/plan_management.py @@ -137,11 +137,10 @@ def create_container(clients, container): def create_plan_from_templates(clients, name, tht_root, roles_file=None, generate_passwords=True, plan_env_file=None, networks_file=None, validate_stack=True): - workflow_client = clients.workflow_engine swift_client = clients.tripleoclient.object_store print("Creating Swift container to store the plan") - result = create_container(workflow_client, container=name) + result = create_container(clients, container=name) if result: # create_container returns 'None' on success and a string with # the error message when failing.