From d00d4dbac079384c91561be6c652f79c2d57df1a Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 13 Jan 2024 01:29:55 +0300 Subject: [PATCH] Initialize mod_revision field in etcd_state_client --- src/etcd_state_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etcd_state_client.h b/src/etcd_state_client.h index bf7b18e5..b081d848 100644 --- a/src/etcd_state_client.h +++ b/src/etcd_state_client.h @@ -28,7 +28,7 @@ struct etcd_kv_t { std::string key; json11::Json value; - uint64_t mod_revision; + uint64_t mod_revision = 0; }; struct pg_config_t