Skip to content

Commit c371638

Browse files
committed
[fit] 连接模式修改
1 parent 6e45183 commit c371638

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

framework/fit/python/plugin/fit_py_registry_client/registry_address_service.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ def _process_address_by_mode() -> list:
9292
else:
9393
port = ""
9494
return [_get_host() + port]
95+
elif _get_registry_server_mode() == 'DIRECT':
96+
return _get_registry_server_addresses()
97+
else:
98+
raise RuntimeError(f"unsupported registry server mode: {_get_registry_server_mode()}")
9599

96100

97101

0 commit comments

Comments
 (0)