summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-07-31 12:24:36 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-08-01 18:26:05 -0700
commit43c271253552a6754581e44b5c63673eb7a32554 (patch)
treed1c49677d7be7b41d10b40a14f9e80382d98fee8
parentbbac69ccff8fc3a058111af8ebe85b94893df569 (diff)
downloadceph-43c271253552a6754581e44b5c63673eb7a32554.tar.gz
rgw: rename sync-type to update-type
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
-rw-r--r--src/rgw/rgw_rest_metadata.cc2
1 files changed, 1 insertions, 1 deletions
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);