]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgwlc/notifications: also fix etag
authoryuval Lifshitz <ylifshit@redhat.com>
Fri, 16 Dec 2022 19:01:06 +0000 (14:01 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 11 Apr 2023 13:46:55 +0000 (09:46 -0400)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 7c58b2a9f3cb3f31398065d862e264bb248760bf)

src/rgw/rgw_lc.cc

index 4db8285650361fccba5ada843ef66756c9c7ab26..7f4a79501ffe38479d10e6306e881a9e6daaf003 100644 (file)
@@ -587,7 +587,7 @@ static int remove_expired_obj(
     // send request to notification manager
     (void) notify->publish_commit(dpp, obj_state->size,
                                  ceph::real_clock::now(),
-                                 obj->get_attrs()[RGW_ATTR_ETAG].to_str(),
+                                 obj_state->attrset[RGW_ATTR_ETAG].to_str(),
                                  version_id);
   }