Merge pull request #3888 from influxdata/fix/health-status

fix(server): health for source returns status no content
pull/10616/head
Chris Goller 2018-07-11 18:49:22 -05:00 committed by GitHub
commit 3e3284ba98
3 changed files with 3 additions and 2 deletions

View File

@ -31,6 +31,7 @@
1. [#3751](https://github.com/influxdata/chronograf/pull/3751): Fix crosshairs moving passed the edges of graphs
1. [#3759](https://github.com/influxdata/chronograf/pull/3759): Change y-axis options to have valid defaults
1. [#3793](https://github.com/influxdata/chronograf/pull/3793): Stop making requests for old sources after changing sources
1. [#3888](https://github.com/influxdata/chronograf/pull/3888): Fix health check status code creating firefox error
## v1.5.0.0 [2018-05-15-RC]

View File

@ -265,7 +265,7 @@ func (s *Service) SourceHealth(w http.ResponseWriter, r *http.Request) {
return
}
w.WriteHeader(http.StatusOK)
w.WriteHeader(http.StatusNoContent)
}
// removeSrcsKapa will remove all kapacitors and kapacitor rules from the stores.

View File

@ -402,7 +402,7 @@
}
],
"responses": {
"200": {
"204": {
"description": "Source was able to be contacted"
},
"404": {