From 0cc5f011924eb69a28cd55296c7cae039d75615b Mon Sep 17 00:00:00 2001 From: Naman Munet Date: Sun, 27 Jul 2025 19:23:17 +0530 Subject: [PATCH] mgr/dashboard: fix bucket replication disable fixes: https://tracker.ceph.com/issues/72074 Signed-off-by: Naman Munet (cherry picked from commit 628ada5d9540f7ea3d9324c89388d54c8e954b36) --- src/pybind/mgr/dashboard/controllers/rgw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/controllers/rgw.py b/src/pybind/mgr/dashboard/controllers/rgw.py index 226f0489f57..7a4eb52edbf 100755 --- a/src/pybind/mgr/dashboard/controllers/rgw.py +++ b/src/pybind/mgr/dashboard/controllers/rgw.py @@ -628,7 +628,7 @@ class RgwBucket(RgwRESTController): self._set_policy(bucket_name, bucket_policy, daemon_name, uid) if canned_acl: self._set_acl(bucket_name, canned_acl, uid, daemon_name) - if replication: + if replication is not None: self._set_replication(bucket_name, replication, uid, daemon_name) if lifecycle and not lifecycle == '{}': self._set_lifecycle(bucket_name, lifecycle, daemon_name, uid) -- 2.47.3