diff --git a/tools/pd-ctl/pdctl/command/global.go b/tools/pd-ctl/pdctl/command/global.go index a8d7b1dca09..2082748fb9e 100644 --- a/tools/pd-ctl/pdctl/command/global.go +++ b/tools/pd-ctl/pdctl/command/global.go @@ -145,6 +145,8 @@ func postJSON(cmd *cobra.Command, prefix string, input map[string]interface{}) { if err := printResponseError(r); err != nil { cmd.Println(err) } + } else { + cmd.Println("success!") } }