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 4, 2019
1 parent 2f7121b commit 17e10fe
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 @@ -152,7 +152,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 17e10fe

Please sign in to comment.