]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: rename sync-type to update-type
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 31 Jul 2013 19:24:36 +0000 (12:24 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 2 Aug 2013 01:26:05 +0000 (18:26 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
src/rgw/rgw_rest_metadata.cc

index 0705a46ed6c422c7207663838234938d2d76e5bd..de33df17446a9a45c5c81dde16bdea95d4f6f3ef 100644 (file)
@@ -164,7 +164,7 @@ void RGWOp_Metadata_Put::execute() {
   RGWMetadataHandler::sync_type_t sync_type = RGWMetadataHandler::APPLY_ALWAYS;
 
   bool mode_exists = false;
-  string mode_string = s->info.args.get("sync-type", &mode_exists);
+  string mode_string = s->info.args.get("update-type", &mode_exists);
   if (mode_exists) {
     bool parsed = RGWMetadataHandler::string_to_sync_type(mode_string,
                                                           sync_type);