ai/at
1
0

test bgs cmd

This commit is contained in:
2025-12-10 16:08:11 +09:00
parent 14c05a7fe2
commit f14ce21ded
2 changed files with 2 additions and 1 deletions

View File

@@ -431,7 +431,7 @@ function at-repos-reset-bgs-db() {
result=$(curl -s -X POST "https://bgs.${host}/admin/pds/requestCrawl" \
-H "Authorization: Bearer ${BGS_ADMIN_KEY}" \
-H "Content-Type: application/json" \
-d "{\"hostname\":\"${host}\"}" \
-d "{\"hostname\":\"pds:3000\"}" \
-w "%{http_code}" -o /dev/null)
if [ "$result" = "200" ]; then
echo "✅ PDS crawl requested successfully"