summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuri Weinstein <yweinste@redhat.com>2024-01-22 17:18:41 +0100
committerGitHub <noreply@github.com>2024-01-22 17:18:41 +0100
commit18149a703b2f443b037861e787e71f3e6f1d9b42 (patch)
treeea98eb7d320b650716e378ee0f333e0481111d88 /src
parentMerge pull request #53154 from ifed01/wip-ifed-no-death-tests (diff)
parentmon: initialize ProgressEvent::add_to_ceph_s (diff)
downloadceph-18149a703b2f443b037861e787e71f3e6f1d9b42.tar.xz
ceph-18149a703b2f443b037861e787e71f3e6f1d9b42.zip
Merge pull request #55070 from pdvian/wip-fix-progressevent
mon: initialize ProgressEvent::add_to_ceph_s Reviewed-by: Laura Flores <lflores@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/mon/mon_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/mon_types.h b/src/mon/mon_types.h
index 91502443d42..3429a8e9991 100644
--- a/src/mon/mon_types.h
+++ b/src/mon/mon_types.h
@@ -684,7 +684,7 @@ inline std::ostream& operator<<(std::ostream& out, const mon_feature_t& f) {
struct ProgressEvent {
std::string message; ///< event description
float progress = 0.0f; ///< [0..1]
- bool add_to_ceph_s;
+ bool add_to_ceph_s = false;
void encode(ceph::buffer::list& bl) const {
ENCODE_START(2, 1, bl);
encode(message, bl);