Use protojson for marshal api output

This commit is contained in:
yuhan6665
2022-07-15 21:45:13 -04:00
parent 7d52ded2a3
commit f956b142d8
9 changed files with 23 additions and 23 deletions

View File

@@ -33,5 +33,5 @@ func executeRestartLogger(cmd *base.Command, args []string) {
if err != nil {
base.Fatalf("failed to restart logger: %s", err)
}
showResponese(resp)
showJSONResponse(resp)
}