Browse Source

fix: advertise correct flag to enable remote write receiver

Signed-off-by: pbudner <mail@pascalbudner.de>
pull/12124/head
pbudner 2 years ago
parent
commit
46683eadf7
  1. 2
      web/api/v1/api.go

2
web/api/v1/api.go

@ -1494,7 +1494,7 @@ func (api *API) remoteWrite(w http.ResponseWriter, r *http.Request) {
if api.remoteWriteHandler != nil {
api.remoteWriteHandler.ServeHTTP(w, r)
} else {
http.Error(w, "remote write receiver needs to be enabled with --enable-feature=remote-write-receiver", http.StatusNotFound)
http.Error(w, "remote write receiver needs to be enabled with --web.enable-remote-write-receiver", http.StatusNotFound)
}
}

Loading…
Cancel
Save