diff --git a/netclient/functions/common.go b/netclient/functions/common.go index de97fce0..3ba56a69 100644 --- a/netclient/functions/common.go +++ b/netclient/functions/common.go @@ -558,7 +558,6 @@ func getPublicAddr() (string, error) { endpoint := "" if resp.StatusCode == http.StatusOK { bodyBytes, err := ioutil.ReadAll(resp.Body) - _, err := ioutil.ReadAll(resp.Body) if err != nil { return "", err }