Skip to content

Commit 2f9a56f

Browse files
committed
Fix deprecated v1 api in alertmanager_test
1 parent 4719e95 commit 2f9a56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jobs/alertmanager/templates/bin/alertmanager_test

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -eu
44

55
curl -H "Content-Type: application/json" \
66
-d '[{"labels":{"alertname":"TestAlert","service":"alertmanager","severity":"warning"},"annotations":{"summary":"Alertmanager `<%= spec.name %>/<%= spec.index %>` test","description":"This is a test alert from alertmanager `<%= spec.name %>/<%= spec.index %>`"}}]' \
7-
<%= spec.ip %>:<%= p('alertmanager.web.port') %>/api/v1/alerts
7+
<%= spec.ip %>:<%= p('alertmanager.web.port') %>/api/v2/alerts

0 commit comments

Comments
 (0)