Close test upstream
This commit is contained in:
parent
451922b858
commit
2e879896ff
|
@ -218,6 +218,7 @@ func checkDNS(input string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
defer u.Close()
|
||||||
|
|
||||||
alive, err := upstream.IsAlive(u)
|
alive, err := upstream.IsAlive(u)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue