From fee64c265895fc5426a9a3dde067fad41534a9ff Mon Sep 17 00:00:00 2001 From: Peter Sabaini Date: Thu, 23 Jan 2025 11:49:38 +0100 Subject: [PATCH] Format vault util func for ipv6 Signed-off-by: Peter Sabaini --- zaza/openstack/charm_tests/vault/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zaza/openstack/charm_tests/vault/utils.py b/zaza/openstack/charm_tests/vault/utils.py index 72cbac413..1173f8871 100644 --- a/zaza/openstack/charm_tests/vault/utils.py +++ b/zaza/openstack/charm_tests/vault/utils.py @@ -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()