From: Matt Benjamin Date: Fri, 18 Feb 2022 13:33:35 +0000 (-0500) Subject: rgwlc: pretty-print status in RGWLC::process(int...) X-Git-Tag: v18.0.0~1240^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b46ac1b762de20f0084fd1e3658fb795cec0eebc;p=ceph.git rgwlc: pretty-print status in RGWLC::process(int...) Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_lc.cc b/src/rgw/rgw_lc.cc index 022321f4c690..e1fbe374e8fb 100644 --- a/src/rgw/rgw_lc.cc +++ b/src/rgw/rgw_lc.cc @@ -280,9 +280,9 @@ static inline std::ostream& operator<<(std::ostream &os, rgw::sal::Lifecycle::LC os << "; start_time="; os << rgw_to_asctime(utime_t(time_t(ent.start_time), 0)); os << "; status="; - os << ent.status; - os << ">"; - return os; + os << LC_STATUS[ent.status]; + os << ">"; + return os; } static bool obj_has_expired(const DoutPrefixProvider *dpp, CephContext *cct, ceph::real_time mtime, int days,