]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_sync_module_pubsub.cc
import ceph 16.2.7
[ceph.git] / ceph / src / rgw / rgw_sync_module_pubsub.cc
index d241ec4b9e6ea9fd28e8affc303449d040acc566..662396ba4adb3455f66c57bf9de112fa3292ba30 100644 (file)
@@ -269,7 +269,7 @@ static void make_s3_event_ref(CephContext *cct, const rgw_bucket& bucket,
 
   EventRef<rgw_pubsub_s3_event>& e = *event;
   e->eventTime = mtime;
-  e->eventName = rgw::notify::to_string(event_type);
+  e->eventName = rgw::notify::to_event_string(event_type);
   // userIdentity: not supported in sync module
   // x_amz_request_id: not supported in sync module
   // x_amz_id_2: not supported in sync module