Merge pull request #3888 from influxdata/fix/health-status
fix(server): health for source returns status no contentpull/10616/head
commit
3e3284ba98
|
@ -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]
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -402,7 +402,7 @@
|
|||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"204": {
|
||||
"description": "Source was able to be contacted"
|
||||
},
|
||||
"404": {
|
||||
|
|
Loading…
Reference in New Issue