]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: switch to boost::algorithm::equals in RGWSwiftWebsiteHandler. 9844/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 15 Sep 2016 21:02:41 +0000 (23:02 +0200)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 15 Sep 2016 21:02:41 +0000 (23:02 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_rest_swift.cc

index b52019915f078add443cb016a9ce2431f5dadb93..fc451bd12fbcc7e69ecbd7c31830ebf2bee85410 100644 (file)
@@ -1710,7 +1710,7 @@ RGWOp* RGWSwiftWebsiteHandler::get_ws_index_op()
   }
 
   auto getop = new RGWGetObj_ObjStore_SWIFT;
-  getop->set_get_data(boost::string_ref("GET") == s->info.method);
+  getop->set_get_data(boost::algorithm::equals("GET", s->info.method));
 
   return getop;
 }