]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/notify: populate event userIdentity with account ids
authorCasey Bodley <cbodley@redhat.com>
Thu, 4 Apr 2024 13:28:00 +0000 (09:28 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2024 19:34:30 +0000 (15:34 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 24841fbddec68199bbe6cfcc9dc1d2bbc1d84e52)

src/rgw/driver/rados/rgw_notify.cc

index 7759fce8f99dcba7b2f7be596b18e2fe21b03772..2220c83c634843526f33b5572d2def1018922663 100644 (file)
@@ -1261,7 +1261,7 @@ reservation_t::reservation_t(const DoutPrefixProvider* _dpp,
   object_name(_object_name),
   tagset(_s->tagset),
   metadata_fetched_from_attributes(false),
-  user_id(_s->user->get_id().id),
+  user_id(to_string(_s->owner.id)),
   user_tenant(_s->user->get_id().tenant),
   req_id(_s->req_id),
   yield(y)