mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't set the optional_products default to a boolean, and then try to loop.
This commit is contained in:
parent
9d8a3d8303
commit
42d8127f79
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ def create(vm_):
|
|||
}
|
||||
|
||||
optional_products = config.get_cloud_config_value(
|
||||
'optional_products', vm_, __opts__, default=True
|
||||
'optional_products', vm_, __opts__, default=[]
|
||||
)
|
||||
for product in optional_products:
|
||||
kwargs['prices'].append({'id': product})
|
||||
|
|
Loading…
Add table
Reference in a new issue