mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Use "is" instead of ==
This commit is contained in:
parent
1fda50c1dc
commit
c64f9a4c8b
@ -347,7 +347,7 @@ def create(vm_):
|
||||
private_wds = config.get_cloud_config_value(
|
||||
'private_windows', vm_, __opts__, default=False
|
||||
)
|
||||
if private_ssh or private_wds or public_vlan == None or public_vlan == False:
|
||||
if private_ssh or private_wds or public_vlan is None or public_vlan is False:
|
||||
ip_type = 'primaryBackendIpAddress'
|
||||
|
||||
def wait_for_ip():
|
||||
|
Loading…
Reference in New Issue
Block a user