summaryrefslogtreecommitdiff
path: root/tuskar_ui/infrastructure/overview/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'tuskar_ui/infrastructure/overview/forms.py')
-rw-r--r--tuskar_ui/infrastructure/overview/forms.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/tuskar_ui/infrastructure/overview/forms.py b/tuskar_ui/infrastructure/overview/forms.py
index b0eb5b34..24a27178 100644
--- a/tuskar_ui/infrastructure/overview/forms.py
+++ b/tuskar_ui/infrastructure/overview/forms.py
@@ -262,8 +262,7 @@ class ScaleOut(EditPlan):
plan = self.plan
try:
stack = api.heat.Stack.get_by_plan(self.request, plan)
- stack.update(request, plan.name, plan.master_template,
- plan.environment, plan.provider_resource_templates)
+ stack.update(request, plan.name, plan.templates)
except Exception as e:
LOG.exception(e)
if hasattr(e, 'error'):
@@ -324,11 +323,7 @@ class DeployOvercloud(horizon.forms.SelfHandlingForm):
try:
stack = api.heat.Stack.get_by_plan(self.request, plan)
if not stack:
- api.heat.Stack.create(request,
- plan.name,
- plan.master_template,
- plan.environment,
- plan.provider_resource_templates)
+ api.heat.Stack.create(request, plan.name, plan.templates)
except Exception as e:
LOG.exception(e)
horizon.exceptions.handle(