Merge pull request #872 from influxdata/hotfix/have-blue

Update chronograf sources response
pull/10616/head
Hunter Trujillo 2017-02-12 16:24:06 -07:00 committed by GitHub
commit f5c02f6bce
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ func newSourceResponse(src chronograf.Source) sourceResponse {
src.Telegraf = "telegraf"
}
// Omit the password on response
src.Password = ""
httpAPISrcs := "/chronograf/v1/sources"
return sourceResponse{
Source: src,