TypeError when merging two Heat stacks without arguments

Change-Id: Ib05d128bcf66941510ce86eb5e8125f13e68d1d5
This commit is contained in:
Stan Lagun 2013-07-10 15:39:54 +04:00 committed by Gerrit Code Review
parent 87c66644e8
commit ca27fe58a6

View File

@ -59,8 +59,8 @@ class HeatExecutor(CommandBase):
if command == 'CreateOrUpdate':
return self._execute_create_update(
kwargs['template'],
kwargs.get('mappings', {}),
kwargs.get('arguments', {}),
kwargs.get('mappings') or {},
kwargs.get('arguments') or {},
callback)
elif command == 'Delete':
return self._execute_delete(callback)