From b9e07688223f84dfb1660a6683c2c50e8fc0f962 Mon Sep 17 00:00:00 2001 From: Zain Budhwani Date: Tue, 1 Oct 2024 23:18:30 +0000 Subject: [PATCH] Rename events table to EVENTS --- common/events_common.h | 2 +- tests/events_common_ut.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/events_common.h b/common/events_common.h index ae9bb7d5..e36979b6 100644 --- a/common/events_common.h +++ b/common/events_common.h @@ -127,7 +127,7 @@ typedef map map_str_str_t; * Config that can be read from init_cfg */ #define INIT_CFG_PATH "/etc/sonic/init_cfg.json" -#define CFG_EVENTS_KEY "events" +#define CFG_EVENTS_KEY "EVENTS" /* configurable entities' keys */ /* zmq proxy's xsub & xpub end points */ diff --git a/tests/events_common_ut.cpp b/tests/events_common_ut.cpp index 52426579..9f48615d 100644 --- a/tests/events_common_ut.cpp +++ b/tests/events_common_ut.cpp @@ -10,7 +10,7 @@ using namespace std; const char *test_cfg_data = "{\ -\"events\" : { \ +\"EVENTS\" : { \ \"xsub_path\": \"xsub_path\", \ \"req_rep_path\": \"req_rep_path\" \ }\