]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: initialize ProgressEvent::add_to_ceph_s 55070/head
authorPrashant D <pdhange@redhat.com>
Fri, 5 Jan 2024 22:26:46 +0000 (17:26 -0500)
committerPrashant D <pdhange@redhat.com>
Fri, 5 Jan 2024 22:31:11 +0000 (17:31 -0500)
commit950aa4963d3671ea84b47f239e8743775632acba
tree90a20787e0af883627ba581e75f5717297a4052c
parentd9686b8f77a2984a97e009e64e9b6040d970225f
mon: initialize ProgressEvent::add_to_ceph_s

The add_to_ceph_s field was not initialized causing unit
test failures from check-generated.sh:

**** ProgressEvent test 1 dump_json check failed ****
   ceph-dencoder type ProgressEvent select_test 1 dump_json > /tmp/typ-akwRrjNtt
   ceph-dencoder type ProgressEvent select_test 1 encode decode dump_json > /tmp/typ-iDmGaq17A
4c4
<     "add_to_ceph_s": false
---
>     "add_to_ceph_s": true

Fixes: https://tracker.ceph.com/issues/63950
Signed-off-by: Prashant D <pdhange@redhat.com>
src/mon/mon_types.h