mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #8259 from heyitsanthony/etcdctl-err-space
etcdctl: remove extra space in error message
This commit is contained in:
commit
858938e32d
@ -34,7 +34,7 @@ const (
|
||||
)
|
||||
|
||||
func ExitWithError(code int, err error) {
|
||||
fmt.Fprintln(os.Stderr, "Error: ", err)
|
||||
fmt.Fprintln(os.Stderr, "Error:", err)
|
||||
if cerr, ok := err.(*client.ClusterError); ok {
|
||||
fmt.Fprintln(os.Stderr, cerr.Detail())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user