commit
a31e60bf12
2
api.go
2
api.go
|
@ -77,7 +77,7 @@ func NewAPI(alerts provider.Alerts, silences provider.Silences, gf func() AlertO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Register regieters the API handlers under their correct routes
|
// Register registers the API handlers under their correct routes
|
||||||
// in the given router.
|
// in the given router.
|
||||||
func (api *API) Register(r *route.Router) {
|
func (api *API) Register(r *route.Router) {
|
||||||
ihf := prometheus.InstrumentHandlerFunc
|
ihf := prometheus.InstrumentHandlerFunc
|
||||||
|
|
Loading…
Reference in New Issue