From: Adam King Date: Wed, 19 Jun 2024 18:46:24 +0000 (-0400) Subject: python-common/rgw: fix broken f-string in zone_create func X-Git-Tag: v20.0.0~1675^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=009e20e59554284013bea2c6b1813d0779f80bd9;p=ceph.git python-common/rgw: fix broken f-string in zone_create func Or I guess I should say make it an f-string since the "f" was mising despite using f-string syntax Signed-off-by: Adam King --- diff --git a/src/python-common/ceph/rgw/rgwam_core.py b/src/python-common/ceph/rgw/rgwam_core.py index 333f49015852..92e3ce8606e4 100644 --- a/src/python-common/ceph/rgw/rgwam_core.py +++ b/src/python-common/ceph/rgw/rgwam_core.py @@ -818,7 +818,7 @@ class RGWAM: zonegroup = period.get_master_zonegroup() if not zonegroup: - raise RGWAMException('Cannot find master zonegroup of realm {realm_name}') + raise RGWAMException(f'Cannot find master zonegroup of realm {realm_name}') zone = self.create_zone(realm, zonegroup, rgw_spec.rgw_zone, False, # secondary zone