diff --git a/etcdmain/etcd.go b/etcdmain/etcd.go index d47d87e1e..ff47b34e5 100644 --- a/etcdmain/etcd.go +++ b/etcdmain/etcd.go @@ -363,7 +363,7 @@ func startProxy(cfg *config) error { plog.Warningf("discovery token ignored since the proxy has already been initialized. Valid cluster file found at %q", clusterfile) } urls := struct{ PeerURLs []string }{} - err := json.Unmarshal(b, &urls) + err = json.Unmarshal(b, &urls) if err != nil { return err }