]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: initialize rgw_log_entry::identity_type
authorCasey Bodley <cbodley@redhat.com>
Tue, 29 Nov 2022 15:11:03 +0000 (10:11 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 29 Nov 2022 18:36:25 +0000 (13:36 -0500)
commitcd99af0760bf973d44bacb55767f26ec7a975912
tree9516c704833c6f778399fe6e73e5fe4021cc3d3b
parent73401e5d639f931525acb2e6bb852e220db475f0
rgw: initialize rgw_log_entry::identity_type

uninitialized identity_type field was causing unit test failures from
check-generated.sh:

**** rgw_log_entry test 2 dump_json check failed ****
   ceph-dencoder type rgw_log_entry select_test 2 dump_json > /tmp/typ-AW7AEODB3
   ceph-dencoder type rgw_log_entry select_test 2 encode decode dump_json > /tmp/typ-0NX4cmLHR
21c21
<     "identity_type": 3599295712
---
>     "identity_type": 2072560864

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