diff --git a/dispatch/dispatch_test.go b/dispatch/dispatch_test.go index d38cbda9..04b2cc95 100644 --- a/dispatch/dispatch_test.go +++ b/dispatch/dispatch_test.go @@ -504,7 +504,7 @@ route: logger := log.NewNopLogger() route := NewRoute(conf.Route, nil) marker := types.NewMarker(prometheus.NewRegistry()) - alerts, err := mem.NewAlerts(context.Background(), marker, time.Hour, logger) + alerts, err := mem.NewAlerts(context.Background(), marker, time.Hour, nil, logger) if err != nil { t.Fatal(err) }