ctlv3: add missing newline in EndpointHealth

To make the output consistent with the output before #9540.
This commit is contained in:
Jingyi Hu 2019-06-04 15:52:29 -07:00
parent 2f7121b420
commit 17e10fe13f

View File

@ -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)
}
}
}