From cbc117208e32a291d7478792a4a17d018607af5e Mon Sep 17 00:00:00 2001 From: Luciano Lo Giudice Date: Thu, 11 Apr 2024 13:14:45 -0300 Subject: [PATCH] Use the right unit to get the RGW client --- zaza/openstack/charm_tests/ceph/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/ceph/tests.py b/zaza/openstack/charm_tests/ceph/tests.py index e000f42..d693276 100644 --- a/zaza/openstack/charm_tests/ceph/tests.py +++ b/zaza/openstack/charm_tests/ceph/tests.py @@ -1811,7 +1811,7 @@ class CephMonKeyRotationTests(test_utils.BaseCharmTest): try: zaza_model.get_application('ceph-radosgw') - rgw_client = self._get_rgw_client('ceph-radosgw/0') + rgw_client = self._get_rgw_client(unit) if rgw_client: self._check_key_rotation(rgw_client, unit) else: