mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Check if profile key exists in vm_ dict
This commit is contained in:
parent
e1ef4a9d66
commit
42d7a54240
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