From 748670f1e9b79a9a3effc324ba3bd154264e32c1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 2 Apr 2021 18:44:02 -0700 Subject: [PATCH] net/dns: fix typo in docstring. Signed-off-by: David Anderson --- net/dns/osconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dns/osconfig.go b/net/dns/osconfig.go index 78f0c24f4..ae08c6da7 100644 --- a/net/dns/osconfig.go +++ b/net/dns/osconfig.go @@ -24,7 +24,7 @@ const ( // An OSConfigurator applies DNS settings to the operating system. type OSConfigurator interface { // Set updates the OS's DNS configuration to match cfg. - // If cfg nil or the zero value, all Tailscale-related DNS + // If cfg is the zero value, all Tailscale-related DNS // configuration is removed. // Set must not be called after Close. Set(cfg OSConfig) error