fix(deploy): correct CDC sync API URL path

Change from /health/cdc-sync to /api/v2/health/cdc-sync

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-13 22:26:32 -08:00
parent 631fe2bf31
commit 6ec79a6672
1 changed files with 1 additions and 1 deletions

View File

@ -1110,7 +1110,7 @@ full_reset() {
local max_wait=600 # 最多等待 10 分钟
local wait_count=0
local sync_completed=false
local cdc_sync_url="http://localhost:3020/health/cdc-sync"
local cdc_sync_url="http://localhost:3020/api/v2/health/cdc-sync"
while [ "$wait_count" -lt "$max_wait" ] && [ "$sync_completed" = false ]; do
# 调用 API 检查同步状态