]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix empty storage class on display of multipart uploads 64313/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 22 Oct 2024 17:17:14 +0000 (13:17 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Wed, 2 Jul 2025 20:53:47 +0000 (16:53 -0400)
commitdaa0baf2c4f2da2e705a6789a91c976e4a1ba54a
treec421d1781c7fd22f12f72e2552cd9eb51af51833
parent4666e5761711c0c9193bad6d7669ab905b0e6c9c
rgw: fix empty storage class on display of multipart uploads

Some multipart uploads do not have a stored storage class, however the
code is written such that an empty storage class is treated as the
"STANDARD" storage class. So when encoding the storage class in JSON,
use the canonical storage.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit eab096c188d2430ccc3e865b614b845f1a92af08)
src/cls/rgw/cls_rgw_types.cc