Use the right unit to get the RGW client

This commit is contained in:
Luciano Lo Giudice
2024-04-11 13:14:45 -03:00
parent 7f913c7be2
commit cbc117208e
+1 -1
View File
@@ -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: