From 628ada5d9540f7ea3d9324c89388d54c8e954b36 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 --- 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 b45756a338c4..13ee781c9a0d 100755 --- a/src/pybind/mgr/dashboard/controllers/rgw.py +++ b/src/pybind/mgr/dashboard/controllers/rgw.py @@ -689,7 +689,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