mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #3923 from gyuho/duplicate_exit
etcdctl: remove duplicate exit line
This commit is contained in:
commit
27a243c2aa
@ -210,7 +210,6 @@ func mustNewClient(c *cli.Context) client.Client {
|
||||
fmt.Fprintf(os.Stderr, "Try '--no-sync' if you want to access non-published client endpoints(%s).\n", strings.Join(hc.Endpoints(), ","))
|
||||
}
|
||||
handleError(ExitServerError, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
if debug {
|
||||
fmt.Fprintf(os.Stderr, "got endpoints(%s) after sync\n", strings.Join(hc.Endpoints(), ","))
|
||||
|
Loading…
x
Reference in New Issue
Block a user