Просмотр исходного кода

ctlv3: add missing newline in EndpointHealth

To make the output consistent with the output before #9540.
Jingyi Hu 6 лет назад
Родитель
Сommit
17e10fe13f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      etcdctl/ctlv3/command/printer_simple.go

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