mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmagent: return 200 from /-/reload
endpoint as Prometheus does
This commit is contained in:
parent
2f28e945b8
commit
28ad350a31
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ func requestHandler(w http.ResponseWriter, r *http.Request) bool {
|
|||
case "/-/reload":
|
||||
promscrapeConfigReloadRequests.Inc()
|
||||
procutil.SelfSIGHUP()
|
||||
w.WriteHeader(http.StatusNoContent)
|
||||
w.WriteHeader(http.StatusOK)
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue