]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_cksum: return version_id in all cases
authorMatt Benjamin <mbenjamin@redhat.com>
Sat, 12 Oct 2024 22:20:31 +0000 (18:20 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 8 Jan 2025 00:17:21 +0000 (19:17 -0500)
commit1be4399edda33c381a727c51e1d232b3ea8f773b
treebad061a535fe406389b065c2f94be68f649d3e9e
parentbac02fc435c251b18095653a3141b1375796d23f
rgw_cksum: return version_id in all cases

The version_id member in RGWGetObjAttrs shadows the one in
RGWGetObj.

Just assign it before conditionally returning the version-id header
in RGWGetObjAttrs_ObjStore_S3::send_response().

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_rest_s3.cc