mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Make sure variable is a dictionary before popping something from it. Fixes #26162
This commit is contained in:
parent
3d04960e71
commit
d566e19df4
@ -2218,7 +2218,7 @@ def create_multiprocessing(parallel_data, queue=None):
|
||||
)
|
||||
return {parallel_data['name']: {'Error': str(exc)}}
|
||||
|
||||
if parallel_data['opts'].get('show_deploy_args', False) is False:
|
||||
if parallel_data['opts'].get('show_deploy_args', False) is False and isinstance(output, dict):
|
||||
output.pop('deploy_kwargs', None)
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user