Use protojson for marshal api output
This commit is contained in:
1 parent
7d52ded2a3
commit
f956b142d8
9 files changed
+23
-23
No files matched your search
@@ -33,5 +33,5 @@ func executeSysStats(cmd *base.Command, args []string) {
|
||||
if err != nil {
|
||||
base.Fatalf("failed to get sys stats: %s", err)
|
||||
}
|
||||
showResponese(resp)
|
||||
showJSONResponse(resp)
|
||||
}
|
||||
Reference in new issue
Block a user