Skip to content

Commit aefff93

Browse files
Another place added where unix sock usage is required
Signed-off-by: Stepan Blyschak <[email protected]>
1 parent 89fa106 commit aefff93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sonic-py-common/sonic_py_common/device_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
def get_localhost_info(field):
4545
try:
46-
config_db = ConfigDBConnector()
46+
config_db = ConfigDBConnector(use_unix_socket_path=True)
4747
config_db.connect()
4848

4949
metadata = config_db.get_table('DEVICE_METADATA')

0 commit comments

Comments
 (0)