From 17e10fe13fa0eb3545be9500adb71ab193a43eae Mon Sep 17 00:00:00 2001 From: Jingyi Hu Date: Tue, 4 Jun 2019 15:52:29 -0700 Subject: [PATCH] ctlv3: add missing newline in EndpointHealth To make the output consistent with the output before #9540. --- etcdctl/ctlv3/command/printer_simple.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdctl/ctlv3/command/printer_simple.go b/etcdctl/ctlv3/command/printer_simple.go index b321f850b57..4091231373b 100644 --- a/etcdctl/ctlv3/command/printer_simple.go +++ b/etcdctl/ctlv3/command/printer_simple.go @@ -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) } } }