net/dnscache: ignore annoying staticcheck check

This commit is contained in:
Brad Fitzpatrick 2020-03-09 22:12:22 -07:00
parent d44325295e
commit bd0e20f351

View File

@ -22,6 +22,8 @@ var single = &Resolver{
} }
func preferGoResolver() bool { func preferGoResolver() bool {
//lint:ignore S1008 disagree; prefer comments
// There does not appear to be a local resolver running // There does not appear to be a local resolver running
// on iOS, and NetworkExtension is good at isolating DNS. // on iOS, and NetworkExtension is good at isolating DNS.
// So do not use the Go resolver on macOS/iOS. // So do not use the Go resolver on macOS/iOS.