Update chronograf sources response

pull/872/head
Chris Goller 2017-02-12 16:38:05 -06:00
parent 7bef858f79
commit 0b7e3b8fe1
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,