]> git-server-git.apps.pok.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)
committerPrashant D <pdhange@redhat.com>
Thu, 25 Apr 2019 23:30:25 +0000 (19:30 -0400)
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit d0894e6f6c062907796d10b524088c2abf7e4252)

src/rgw/rgw_rados.h

index ddb60788310277f1bf7c42ef90f9c37e44d69737..792a23610a38b68a44e37491555e0e8b68c02dfe 100644 (file)
@@ -2183,8 +2183,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,