Skip to content

Commit a00e23b

Browse files
update spdk state collector service _2
1 parent 44b0f67 commit a00e23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplyblock_core/services/spdk_stats_collector.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_docker_client():
3737
is_running = cont.attrs['State']["Running"]
3838
logger.info(f"is_running: {is_running}")
3939
if is_running:
40-
spdk_sock_path = f"/var/tmp{cont.attrs['Name']}.sock"
40+
spdk_sock_path = f"/var/tmp{cont.attrs['Name']}/spdk.sock"
4141
client = spdk_client.JSONRPCClient(spdk_sock_path, 5260)
4242
ret = client.call(method)
4343
now = str(datetime.datetime.now()).split(".")[0]

0 commit comments

Comments
 (0)