From 24b1968411f6973704af2b8c7a6b9659b50d97f6 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Fri, 15 Apr 2016 13:42:06 -0700 Subject: [PATCH] rgw: fix get_zonegroup() was passing in the wrong param Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_rados.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_rados.h b/src/rgw/rgw_rados.h index 1195aa331444c..7195066bf714e 100644 --- a/src/rgw/rgw_rados.h +++ b/src/rgw/rgw_rados.h @@ -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; } -- 2.39.5