Skip to content

Commit

Permalink
bugfix: 修复 Windows P-Agent 2.0 安装冗余探测 20020 端口的问题 (fixed #1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuoZhuoCrayon committed Oct 7, 2023
1 parent dbe5cff commit 018efbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
name: black
language: python
- repo: https://github.com/pycqa/isort
rev: 5.5.4
rev: 5.11.5
hooks:
- id: isort
args: [ "--profile", "black" ]
Expand Down
4 changes: 2 additions & 2 deletions script_tools/agent_tools/agent2/setup_agent.bat
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@ goto :EOF
call :multi_report_step_status
exit /b 1
)
call :print INFO check_env - "check if it is reachable to port %FILE_SVR_PORT%,%BT_PORT%-%TRACKER_PORT% of %FILE_SERVER_IP% GSE PROXY"
call :print INFO check_env - "check if it is reachable to port %FILE_SVR_PORT% of %FILE_SERVER_IP% GSE PROXY"
call :multi_report_step_status
echo=
set file_network_not_reachable=
for %%p in (%FILE_SERVER_IP%) do (
for %%a in (%FILE_SVR_PORT%,%BT_PORT%) do (
for %%a in (%FILE_SVR_PORT%) do (
rem goto is_target_reachable
for /f %%i in ('%TMP_DIR%\tcping.exe -i 0.01 %%p %%a ^| findstr successful') do (
rem echo %%i
Expand Down

0 comments on commit 018efbf

Please sign in to comment.