Skip to content

Commit

Permalink
hotfix Caught exception in wait_for_fun utils
Browse files Browse the repository at this point in the history
  • Loading branch information
vdloo committed Oct 18, 2022
1 parent 6226b9c commit fb6f87c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions salt/cloud/clouds/openstack.py
Expand Up @@ -444,11 +444,9 @@ def _get_ips(node, addr_type="public"):
"OS-EXT-IPS:type"
):
ret.append(addr["addr"])
elif addr_type == "public" and __utils__["cloud.is_public_ip"](
addr["addr"]
):
elif addr_type == "public" and salt.utils.cloud.is_public_ip(addr["addr"]):
ret.append(addr["addr"])
elif addr_type == "private" and not __utils__["cloud.is_public_ip"](
elif addr_type == "private" and not salt.utils.cloud.is_public_ip(
addr["addr"]
):
ret.append(addr["addr"])
Expand Down

0 comments on commit fb6f87c

Please sign in to comment.