]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw multisite: remove the redundant post in OPT_ZONEGROUP_MODIFY 14359/head
authorJing Wenjun <jingwenjun@cmss.chinamobile.com>
Wed, 5 Apr 2017 13:16:55 +0000 (21:16 +0800)
committerJing Wenjun <jingwenjun@cmss.chinamobile.com>
Wed, 5 Apr 2017 13:16:55 +0000 (21:16 +0800)
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 <jingwenjun@cmss.chinamobile.com>
src/rgw/rgw_admin.cc

index 8a8fe56ae3c3a4c83250d7f54785f4261d4513f4..365c617ba0a3578a50b0189345b1ddb8dbafa3f6 100644 (file)
@@ -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;