We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89fa106 commit aefff93Copy full SHA for aefff93
src/sonic-py-common/sonic_py_common/device_info.py
@@ -43,7 +43,7 @@
43
44
def get_localhost_info(field):
45
try:
46
- config_db = ConfigDBConnector()
+ config_db = ConfigDBConnector(use_unix_socket_path=True)
47
config_db.connect()
48
49
metadata = config_db.get_table('DEVICE_METADATA')
0 commit comments