mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #32345 from nmadhok/patch-4
[2015.8] Check if profile key exists in vm_ dict
This commit is contained in:
commit
59aca733ea
1 changed files with 1 additions and 1 deletions
|
@ -2004,7 +2004,7 @@ def create(vm_):
|
|||
'''
|
||||
try:
|
||||
# Check for required profile parameters before sending any API calls.
|
||||
if config.is_profile_configured(__opts__,
|
||||
if vm_['profile'] and config.is_profile_configured(__opts__,
|
||||
__active_provider_name__ or 'vmware',
|
||||
vm_['profile'],
|
||||
vm_=vm_) is False:
|
||||
|
|
Loading…
Add table
Reference in a new issue