From b24dda13e59c4af90b52f5926051dcb112bd25b9 Mon Sep 17 00:00:00 2001 From: Jing Wenjun Date: Wed, 5 Apr 2017 21:16:55 +0800 Subject: [PATCH] rgw multisite: remove the redundant post in OPT_ZONEGROUP_MODIFY the post_process_params has been included in zonegroup.update_master(is_master). and the other params updating does not need to use post. zonegroup.update() is enough. Signed-off-by: Jing Wenjun --- src/rgw/rgw_admin.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 8a8fe56ae3c3..365c617ba0a3 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -3621,7 +3621,6 @@ int main(int argc, const char **argv) } if (need_update) { - zonegroup.post_process_params(); ret = zonegroup.update(); if (ret < 0) { cerr << "failed to update zonegroup: " << cpp_strerror(-ret) << std::endl; -- 2.47.3