]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix empty storage class on display of multipart uploads 60430/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 22 Oct 2024 17:17:14 +0000 (13:17 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 22 Oct 2024 17:29:45 +0000 (13:29 -0400)
commiteab096c188d2430ccc3e865b614b845f1a92af08
tree56dabcdd0444ed88584fc3c670e3b7db3cc119a1
parentee6523b618e7abe21cd2346f828f57cf150de5b9
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>
src/cls/rgw/cls_rgw_types.cc