]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: rgw::sal::RGWBucket initializes creation_time
authorCasey Bodley <cbodley@redhat.com>
Thu, 11 Mar 2021 20:12:08 +0000 (15:12 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 11 Mar 2021 20:12:11 +0000 (15:12 -0500)
commit1b6f4d406dda73989bb718597f939e31c43ae01d
treeced41eaf1c46091170ecbc59af86029aeed82547
parent14f6007dd79f7760ed69ab4cbed06486ab924fe2
rgw: rgw::sal::RGWBucket initializes creation_time

rgw::sal::RGWUser::list_buckets() uses the RGWBucketEnt constructor.
RGWBucketEnt::creation_time is initialized, but get_creation_time()
returns the uninitialized info.creation_time

Fixes: https://tracker.ceph.com/issues/49741
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_sal.h