Author: Paolo Lulli <paolo@lulli.net>
Unformatte JSON
server/rest/outputs.go | 2 +-
diff --git a/server/rest/outputs.go b/server/rest/outputs.go index 6efbc16f2568b42d96ed5a21cafe3baf33acbaef..b6d65c80a97d1acc2af3980f0fb17798204704fe 100644 --- a/server/rest/outputs.go +++ b/server/rest/outputs.go @@ -7,6 +7,6 @@ formatted := false if formatted { c.IndentedJSON(status, h) } else { - c.YAML(status, h) + c.JSON(status, h) } }