Merge pull request #10788 from jingyih/add_missing_newline_EndpointHealth

ctlv3: add newline in EndpointHealth output
This commit is contained in:
Gyuho Lee 2019-06-05 02:19:54 -07:00 committed by GitHub
commit ea45cd61d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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