Skip to content

Commit

Permalink
pdctl: add success response (#1600) (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
disksing authored Aug 19, 2019
1 parent 017c599 commit afba07a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/pd-ctl/pdctl/command/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
}
}

Expand Down

0 comments on commit afba07a

Please sign in to comment.