From 461db356b91ff0b901ae3dfee6f031f1dbd0f884 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 19 Aug 2020 15:12:30 -0700 Subject: [PATCH] wgengine/router/dns: fix staticcheck error on Mac --- wgengine/router/dns/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/router/dns/manager.go b/wgengine/router/dns/manager.go index c8cc82bdd..74c97f1a4 100644 --- a/wgengine/router/dns/manager.go +++ b/wgengine/router/dns/manager.go @@ -15,7 +15,7 @@ import ( // This is particularly useful because certain conditions can cause indefinite hangs // (such as improper dbus auth followed by contextless dbus.Object.Call). // Such operations should be wrapped in a timeout context. -const reconfigTimeout = time.Second +const reconfigTimeout = time.Second //lint:ignore U1000 used on Linux at least, maybe others later type managerImpl interface { // Up updates system DNS settings to match the given configuration.