Skip to content

Commit

Permalink
Merge pull request #1292 from sabaini/fix-vault-ipformat
Browse files Browse the repository at this point in the history
Format vault util func for ipv6
  • Loading branch information
sabaini authored Jan 23, 2025
2 parents b75eb07 + fee64c2 commit af5bea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zaza/openstack/charm_tests/vault/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ def validate_ca(cacertificate, application="keystone", port=5000):
ip = vip
else:
ip = zaza.model.get_app_ips(application)[0]
ip = network_utils.format_addr(ip)
with tempfile.NamedTemporaryFile(mode='w') as fp:
fp.write(cacertificate.decode())
fp.flush()
Expand Down

0 comments on commit af5bea7

Please sign in to comment.