Skip to content

Commit

Permalink
server: adjust the result of curl * (#9104) (#11432)
Browse files Browse the repository at this point in the history
All tests passed, auto merged by Bot
  • Loading branch information
bb7133 authored and sre-bot committed Jul 25, 2019
1 parent 7e2586e commit 0df09f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/http_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func writeError(w http.ResponseWriter, err error) {
}

func writeData(w http.ResponseWriter, data interface{}) {
js, err := json.Marshal(data)
js, err := json.MarshalIndent(data, "", " ")
if err != nil {
writeError(w, err)
return
Expand Down

0 comments on commit 0df09f6

Please sign in to comment.