From: Jing Wenjun Date: Wed, 5 Apr 2017 13:16:55 +0000 (+0800) Subject: rgw multisite: remove the redundant post in OPT_ZONEGROUP_MODIFY X-Git-Tag: v12.0.3~152^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b24dda13e59c4af90b52f5926051dcb112bd25b9;p=ceph.git 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 --- 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;