签入版本
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
验证应用可构建、健康端点可访问。
|
||||
|
||||
用法:
|
||||
python scripts/health_check.py [--host 127.0.0.1] [--port 8023]
|
||||
python scripts/health_check.py [--host 127.0.0.1] [--port 8021]
|
||||
"""
|
||||
|
||||
import os
|
||||
@@ -45,7 +45,7 @@ def check_health_endpoint(host: str, port: int) -> bool:
|
||||
|
||||
def main():
|
||||
host = "127.0.0.1"
|
||||
port = 8023
|
||||
port = 8021
|
||||
args = sys.argv[1:]
|
||||
for i, a in enumerate(args):
|
||||
if a == "--host" and i + 1 < len(args):
|
||||
|
||||
Reference in New Issue
Block a user