From 15ebe89a50d5ef7898b91e846fc40980efebcc64 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Wed, 31 Jul 2013 12:24:36 -0700 Subject: rgw: rename sync-type to update-type Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_rest_metadata.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_rest_metadata.cc b/src/rgw/rgw_rest_metadata.cc index 0705a46ed6c..de33df17446 100644 --- a/src/rgw/rgw_rest_metadata.cc +++ b/src/rgw/rgw_rest_metadata.cc @@ -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); -- cgit v1.2.1