Explorar o código

ctlv3: add missing newline in EndpointHealth

To make the output consistent with the output before #9540.
Jingyi Hu %!s(int64=6) %!d(string=hai) anos
pai
achega
6dd1e913a1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      etcdctl/ctlv3/command/printer_simple.go

+ 1 - 1
etcdctl/ctlv3/command/printer_simple.go

@@ -134,7 +134,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)
 		}
 	}
 }