Fix compilation errors after rebase on master.
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
This commit is contained in:
parent
358645cfe2
commit
b3ea60e9bb
|
@ -504,7 +504,7 @@ route:
|
||||||
logger := log.NewNopLogger()
|
logger := log.NewNopLogger()
|
||||||
route := NewRoute(conf.Route, nil)
|
route := NewRoute(conf.Route, nil)
|
||||||
marker := types.NewMarker(prometheus.NewRegistry())
|
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 {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue