Merge "Pass environment data to update stack action" into stable/mitaka

This commit is contained in:
Jenkins 2016-05-13 19:16:10 +00:00 committed by Gerrit Code Review
commit 38b38cf111
1 changed files with 3 additions and 0 deletions

View File

@ -428,6 +428,9 @@ class EditStackForm(CreateStackForm):
if data.get('password'):
fields['password'] = data.get('password')
if data.get('environment_data'):
fields['environment'] = data.get('environment_data')
try:
api.heat.stack_update(self.request, stack_id=stack_id, **fields)
messages.success(request, _("Stack update started."))