Skip to content

Commit 6dd1e91

Browse files
committed
ctlv3: add missing newline in EndpointHealth
To make the output consistent with the output before etcd-io#9540.
1 parent 4a1ffd8 commit 6dd1e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etcdctl/ctlv3/command/printer_simple.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (s *simplePrinter) EndpointHealth(hs []epHealth) {
134134
if h.Error == "" {
135135
fmt.Fprintf(os.Stderr, "%s is healthy: successfully committed proposal: took = %v\n", h.Ep, h.Took)
136136
} else {
137-
fmt.Fprintf(os.Stderr, "%s is unhealthy: failed to commit proposal: %v", h.Ep, h.Error)
137+
fmt.Fprintf(os.Stderr, "%s is unhealthy: failed to commit proposal: %v\n", h.Ep, h.Error)
138138
}
139139
}
140140
}

0 commit comments

Comments
 (0)