Fix typo in comment
This commit is contained in:
parent
27603290b2
commit
8a9fd42ca3
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