]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix empty storage class on display of multipart uploads 64312/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:07 +0000 (16:53 -0400)
commit5ce2ed72ab7eef1548ad9bbc41aa59bc4fdcca42
tree78061b2bdc81135e938e45daa5f8dd39aee10647
parent2991440f228850a8ca2c811045d6ea3882022da6
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