From aaa1913df27d0f36c267944dca26f0dac7452c15 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 210108ff54ad2..b382c3009b41f 100755 --- a/src/pybind/mgr/dashboard/controllers/rgw.py +++ b/src/pybind/mgr/dashboard/controllers/rgw.py @@ -672,7 +672,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.39.5