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: v18.2.5~82^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=05bcaab69b1e3f3083f7dcfeb047aaa3cb505264;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 (cherry picked from commit 009e20e59554284013bea2c6b1813d0779f80bd9) --- diff --git a/src/python-common/ceph/rgw/rgwam_core.py b/src/python-common/ceph/rgw/rgwam_core.py index 7041ea1544f00..bb8f8e971758c 100644 --- a/src/python-common/ceph/rgw/rgwam_core.py +++ b/src/python-common/ceph/rgw/rgwam_core.py @@ -776,7 +776,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