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 authored and hexfusion committed Sep 26, 2019
1 parent b8e9adb commit be7796f
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 @@ -147,7 +147,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 be7796f

Please sign in to comment.