mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +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
@ -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…
Reference in New Issue
Block a user