Skip to content

Commit

Permalink
ctlv3: add missing newline in EndpointHealth
Browse files Browse the repository at this point in the history
To make the output consistent with the output before etcd-io#9540.
  • Loading branch information
jingyih committed Jun 5, 2019
1 parent 317ff58 commit f330a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdctl/ctlv3/command/printer_simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (s *simplePrinter) EndpointHealth(hs []epHealth) {
if h.Error == "" {
fmt.Fprintf(os.Stderr, "%s is healthy: successfully committed proposal: took = %v\n", h.Ep, h.Took)
} else {
fmt.Fprintf(os.Stderr, "%s is unhealthy: failed to commit proposal: %v", h.Ep, h.Error)
fmt.Fprintf(os.Stderr, "%s is unhealthy: failed to commit proposal: %v\n", h.Ep, h.Error)
}
}
}
Expand Down

0 comments on commit f330a48

Please sign in to comment.