Skip to content

Commit

Permalink
Add new line for stderr
Browse files Browse the repository at this point in the history
Signed-off-by: Bin Shi <binshi.bing@gmail.com>
  • Loading branch information
binshi-bing committed Jun 27, 2023
1 parent 8d7e38f commit 1636c3d
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 @@ -192,7 +192,7 @@ func postJSON(cmd *cobra.Command, prefix string, input map[string]interface{}) {
return nil
})
if err != nil {
cmd.Printf("Failed! %s", err)
cmd.Printf("Failed! %s\n", err)
return
}
cmd.Println("Success!")
Expand Down

0 comments on commit 1636c3d

Please sign in to comment.