Fix compilation errors after rebase on master.

Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
This commit is contained in:
Peter Štibraný 2021-06-02 14:13:58 +02:00
parent 358645cfe2
commit b3ea60e9bb
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}