]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: correct comment describing function try_refresh_bucket_info
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 27 Mar 2019 20:32:17 +0000 (16:32 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 19 Jul 2019 16:28:19 +0000 (12:28 -0400)
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit d0894e6f6c062907796d10b524088c2abf7e4252)

src/rgw/rgw_rados.h

index fe4e8e708724ef3d376e7293ce6579e7198f350e..8e14f4bff4fc693a624ee76e87b00543f9ca109a 100644 (file)
@@ -3536,8 +3536,8 @@ public:
                      RGWBucketInfo& info,
                      ceph::real_time *pmtime, map<string, bufferlist> *pattrs = NULL);
 
-  // Returns true on successful refresh. Returns false if there was an
-  // error or the version stored on the OSD is the same as that
+  // Returns 0 on successful refresh. Returns error code if there was
+  // an error or the version stored on the OSD is the same as that
   // presented in the BucketInfo structure.
   //
   int try_refresh_bucket_info(RGWBucketInfo& info,