]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix typo in RGWPeriod::update
authorCasey Bodley <cbodley@redhat.com>
Mon, 2 Nov 2015 21:01:32 +0000 (16:01 -0500)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:34 +0000 (16:13 -0800)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rados.cc

index e81b940da7013c985c96192d9a309318939fd474..162be7ae8cd7d3367c05bcc7138bdcbc89598be7 100644 (file)
@@ -1089,7 +1089,7 @@ int RGWPeriod::update()
     return ret;
   }
 
-  for (auto iter : zonegroups) {
+  for (auto& iter : zonegroups) {
     RGWZoneGroup zg(string(), iter);
     ret = zg.init(cct, store);
     if (ret < 0) {
@@ -1098,7 +1098,7 @@ int RGWPeriod::update()
     }
 
     if (zg.realm_id != realm_id) {
-      ldout(cct, 20) << "skippinh zonegroup " << zg.get_name() << ", not on our realm" << dendl;
+      ldout(cct, 20) << "skipping zonegroup " << zg.get_name() << ", not on our realm" << dendl;
       continue;
     }