Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <[email protected]>
  • Loading branch information
lhy1024 committed Aug 10, 2023
1 parent 5a9edae commit 0fac405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pd-ctl/pdctl/command/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func requestJSON(cmd *cobra.Command, method, prefix string, input map[string]int
cmd.Printf("Failed! %s\n", err)
return
}
cmd.Printf("Success! %s\n", msg)
cmd.Printf("Success! %s\n", strings.Trim(string(msg), "\""))
}

func postJSON(cmd *cobra.Command, prefix string, input map[string]interface{}) {
Expand Down

0 comments on commit 0fac405

Please sign in to comment.