]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix get_zonegroup()
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 15 Apr 2016 20:42:06 +0000 (13:42 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 15 Apr 2016 20:45:29 +0000 (13:45 -0700)
was passing in the wrong param

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

index 1195aa331444c8001f15380aebc3985b6abca7f8..7195066bf714e87ff6fbd23484005af258285e24 100644 (file)
@@ -1904,7 +1904,7 @@ public:
     if (id == get_zonegroup().get_id()) {
       zonegroup = get_zonegroup();
     } else if (!current_period.get_id().empty()) {
-      ret = current_period.get_zonegroup(zonegroup, zonegroup_id);
+      ret = current_period.get_zonegroup(zonegroup, id);
     }
     return ret;
   }