From: Matt Benjamin Date: Wed, 29 Dec 2021 17:47:42 +0000 (-0500) Subject: rgwlc: format event.eventName with to_event_string(...) X-Git-Tag: v17.1.0~129^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=16c8b64b7f598e7ec6e8c4bc8c3b558227abccb1;p=ceph.git rgwlc: format event.eventName with to_event_string(...) Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_notify.cc b/src/rgw/rgw_notify.cc index e565f9872380..57c028479b4b 100644 --- a/src/rgw/rgw_notify.cc +++ b/src/rgw/rgw_notify.cc @@ -680,7 +680,7 @@ static inline void populate_event(reservation_t& res, EventType event_type, rgw_pubsub_s3_event& event) { event.eventTime = mtime; - event.eventName = to_string(event_type); + event.eventName = to_event_string(event_type); event.userIdentity = res.user_id; // user that triggered the change event.x_amz_request_id = res.req_id; // request ID of the original change event.x_amz_id_2 = res.store->getRados()->host_id; // RGW on which the change was made