From b7f07fa318b4b23d71f0fa22a22b3363d7362f9d Mon Sep 17 00:00:00 2001 From: "J. Eric Ivancich" Date: Wed, 27 Mar 2019 16:32:17 -0400 Subject: [PATCH] rgw: correct comment describing function try_refresh_bucket_info Signed-off-by: J. Eric Ivancich (cherry picked from commit d0894e6f6c062907796d10b524088c2abf7e4252) --- src/rgw/rgw_rados.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_rados.h b/src/rgw/rgw_rados.h index fe4e8e708724e..8e14f4bff4fc6 100644 --- a/src/rgw/rgw_rados.h +++ b/src/rgw/rgw_rados.h @@ -3536,8 +3536,8 @@ public: RGWBucketInfo& info, ceph::real_time *pmtime, map *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, -- 2.39.5