wg-manager: Fix go vet
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9b498b5842
commit
f2a6c2d28c
|
@ -102,7 +102,7 @@ func register(w http.ResponseWriter, r *http.Request) {
|
||||||
} else if resp, err := http.DefaultClient.Do(r); err == nil {
|
} else if resp, err := http.DefaultClient.Do(r); err == nil {
|
||||||
resp.Body.Close()
|
resp.Body.Close()
|
||||||
} else {
|
} else {
|
||||||
log.Printf("Unable to register wg-step on token-validator:", err)
|
log.Println("Unable to register wg-step on token-validator:", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if next_ip, err := findNextIP(); err != nil {
|
if next_ip, err := findNextIP(); err != nil {
|
||||||
|
|
Reference in New Issue