mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make sure variable is a dictionary before popping something from it.
This commit is contained in:
parent
2545df052a
commit
0f2b5f8ac8
1 changed files with 1 additions and 1 deletions
|
@ -2104,7 +2104,7 @@ class Map(Cloud):
|
|||
output[name] = self.create(
|
||||
profile, local_master=local_master
|
||||
)
|
||||
if self.opts.get('show_deploy_args', False) is False:
|
||||
if self.opts.get('show_deploy_args', False) is False and isinstance(output[name], dict):
|
||||
output[name].pop('deploy_kwargs', None)
|
||||
except SaltCloudException as exc:
|
||||
log.error(
|
||||
|
|
Loading…
Add table
Reference in a new issue