]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove a warning
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 4 Jan 2019 21:27:26 +0000 (13:27 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 4 Jan 2019 21:27:26 +0000 (13:27 -0800)
No need for warning, rgw_placement_rule is being read as a string
and backward compatible.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc

index 68f5ede2f9f832ae79051f7e87bc7af9fc92df12..5786c0f3e9b0afede7ac0cb926c32e38fcb9b18b 100644 (file)
@@ -118,7 +118,6 @@ static bool rgw_get_obj_data_pool(const RGWZoneGroup& zonegroup, const RGWZonePa
     }
 
     if (!obj.in_extra_data) {
-#warning zonegroup default placement backward compatibility json decode/encode
       *pool = placement.get_data_pool(zonegroup.default_placement.storage_class);
     } else {
       *pool = placement.get_data_extra_pool();