From a5182b14fff8f81aeae820afae332ed932558342 Mon Sep 17 00:00:00 2001 From: "kanza.latif" Date: Wed, 25 Sep 2024 11:57:02 +0500 Subject: [PATCH] upodated the code --- scripts/hostcfgd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/hostcfgd b/scripts/hostcfgd index f42c205..e0e05ac 100644 --- a/scripts/hostcfgd +++ b/scripts/hostcfgd @@ -17,12 +17,13 @@ from sonic_py_common import device_info from sonic_py_common.general import check_output_pipe # from swsscommon import CFG_MEMORY_STATISTICS_TABLE_NAME from swsscommon.swsscommon import ConfigDBConnector, DBConnector, Table -from swsscommon import swsscommon +import swsscommon from sonic_installer import bootloader hostcfg_file_path = os.path.abspath(__file__) hostcfg_dir_path = os.path.dirname(hostcfg_file_path) sys.path.append(hostcfg_dir_path) import ldap +importlib.reload(swsscommon) # FILE PAM_AUTH_CONF = "/etc/pam.d/common-auth-sonic"