Skip to content

Commit

Permalink
Use the correct callable
Browse files Browse the repository at this point in the history
  • Loading branch information
lmlg committed Apr 11, 2024
1 parent cbc1172 commit 2f557c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zaza/openstack/charm_tests/ceph/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ def entity_filter(name):
self.assertTrue(entity_filter(first[0]))

def _get_rgw_client(self, unit):
ret = self._get_all_keys(unit, 'client.rgw')
ret = self._get_all_keys(unit, lambda x: x.startswith('client.rgw'))
if not ret:
return None
return next(iter(ret))[0]
Expand Down

0 comments on commit 2f557c5

Please sign in to comment.