Skip to content

Commit

Permalink
PEP8 change
Browse files Browse the repository at this point in the history
  • Loading branch information
lmlg committed Apr 24, 2024
1 parent 3bf0ec7 commit 4296630
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zaza/openstack/charm_tests/ceph/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1815,9 +1815,9 @@ def test_key_rotate(self):

try:
zaza_model.get_application('ceph-fs')
fs_entity = self._get_all_keys(unit, lambda x: x.startswith('mds.'))
if fs_entity is not None:
self._check_key_rotation(next(iter(fs_entity))[0], unit)
fs_svc = self._get_all_keys(unit, lambda x: x.startswith('mds.'))
if fs_svc is not None:
self._check_key_rotation(next(iter(fs_svc))[0], unit)
else:
logging.info('ceph-fs units present, but no MDS service')
except KeyError:
Expand Down

0 comments on commit 4296630

Please sign in to comment.