From bd0e20f351da1fce6cd903d716ae9bb431d0b03b Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 9 Mar 2020 22:12:22 -0700 Subject: [PATCH] net/dnscache: ignore annoying staticcheck check --- net/dnscache/dnscache.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/dnscache/dnscache.go b/net/dnscache/dnscache.go index 3aebbc776..9de232e11 100644 --- a/net/dnscache/dnscache.go +++ b/net/dnscache/dnscache.go @@ -22,6 +22,8 @@ var single = &Resolver{ } func preferGoResolver() bool { + //lint:ignore S1008 disagree; prefer comments + // There does not appear to be a local resolver running // on iOS, and NetworkExtension is good at isolating DNS. // So do not use the Go resolver on macOS/iOS.