diff --git a/notify/pagerduty/pagerduty_test.go b/notify/pagerduty/pagerduty_test.go index c313d9f4cf..26a05103a9 100644 --- a/notify/pagerduty/pagerduty_test.go +++ b/notify/pagerduty/pagerduty_test.go @@ -518,7 +518,6 @@ func TestPagerDutyTimeout(t *testing.T) { for name, tt := range tests { t.Run(name, func(t *testing.T) { - srv := httptest.NewServer(http.HandlerFunc( func(w http.ResponseWriter, r *http.Request) { decoder := json.NewDecoder(r.Body)