From 16c8b64b7f598e7ec6e8c4bc8c3b558227abccb1 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Wed, 29 Dec 2021 12:47:42 -0500 Subject: [PATCH] rgwlc: format event.eventName with to_event_string(...) Signed-off-by: Matt Benjamin --- src/rgw/rgw_notify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_notify.cc b/src/rgw/rgw_notify.cc index e565f98723804..57c028479b4b7 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 -- 2.39.5