Skip to content

Commit

Permalink
Fix pd-ctl echo output (tikv#1765)
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <admin@liudos.us>

(cherry picked from commit c973515)
Signed-off-by: lhy1024 <admin@liudos.us>
  • Loading branch information
lhy1024 committed Sep 26, 2019
1 parent d887a38 commit 0d6941d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/pd-ctl/pdctl/command/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ func removeOperatorCommandFunc(cmd *cobra.Command, args []string) {
fmt.Println(err)
return
}
cmd.Println("Success!")
}

func parseUint64s(args []string) ([]uint64, error) {
Expand Down
1 change: 1 addition & 0 deletions tools/pd-ctl/pdctl/command/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,5 @@ func removeSchedulerCommandFunc(cmd *cobra.Command, args []string) {
fmt.Println(err)
return
}
cmd.Println("Success!")
}

0 comments on commit 0d6941d

Please sign in to comment.