diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-07-31 12:24:36 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2013-08-01 18:23:49 -0700 |
commit | 15ebe89a50d5ef7898b91e846fc40980efebcc64 (patch) | |
tree | d1c49677d7be7b41d10b40a14f9e80382d98fee8 | |
parent | caf4a36aa4b3c0747867f859cc5509f73664c98c (diff) | |
download | ceph-15ebe89a50d5ef7898b91e846fc40980efebcc64.tar.gz |
rgw: rename sync-type to update-typewip-5810
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r-- | src/rgw/rgw_rest_metadata.cc | 2 |
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); |