libs/tools: fix missing default in resolve_identifier()
This commit is contained in:
parent
b00b2aa245
commit
e36dbf0222
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def resolve_identifier(repo, identifier):
|
|||
for ip in config.get('ipv4', set()):
|
||||
found_ips.add(ip_address(ip))
|
||||
|
||||
if node.metadata.get('external_ipv4'):
|
||||
if node.metadata.get('external_ipv4', None):
|
||||
found_ips.add(ip_address(node.metadata.get('external_ipv4')))
|
||||
|
||||
return found_ips
|
||||
|
|
Loading…
Reference in a new issue