Skip to content

Commit 628ada5

Browse files
author
Naman Munet
committed
mgr/dashboard: fix bucket replication disable
fixes: https://tracker.ceph.com/issues/72074 Signed-off-by: Naman Munet <[email protected]>
1 parent 1fc5167 commit 628ada5

File tree

1 file changed

+1
-1
lines changed
  • src/pybind/mgr/dashboard/controllers

1 file changed

+1
-1
lines changed

src/pybind/mgr/dashboard/controllers/rgw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def set(self, bucket, bucket_id, uid=None, versioning_state=None,
689689
self._set_policy(bucket_name, bucket_policy, daemon_name, uid)
690690
if canned_acl:
691691
self._set_acl(bucket_name, canned_acl, uid, daemon_name)
692-
if replication:
692+
if replication is not None:
693693
self._set_replication(bucket_name, replication, uid, daemon_name)
694694
if lifecycle and not lifecycle == '{}':
695695
self._set_lifecycle(bucket_name, lifecycle, daemon_name, uid)

0 commit comments

Comments
 (0)