From e03f0d5f5c57aa8eb5daf986f401f34c2841a616 Mon Sep 17 00:00:00 2001 From: James Tucker Date: Fri, 29 Sep 2023 17:34:07 -0700 Subject: [PATCH] net/dnsfallback: remove net/dnsfallback go:generate line We should be able to freely run `./tool/go generate ./...`, but we're continually dodging this particular generator. Instead of constantly dodging it, let's just remove it. Updates #cleanup Signed-off-by: James Tucker --- net/dnsfallback/dnsfallback.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net/dnsfallback/dnsfallback.go b/net/dnsfallback/dnsfallback.go index 707ed2cf1..d60404ddc 100644 --- a/net/dnsfallback/dnsfallback.go +++ b/net/dnsfallback/dnsfallback.go @@ -1,10 +1,13 @@ // Copyright (c) Tailscale Inc & AUTHORS // SPDX-License-Identifier: BSD-3-Clause -//go:generate go run update-dns-fallbacks.go - // Package dnsfallback contains a DNS fallback mechanism // for starting up Tailscale when the system DNS is broken or otherwise unavailable. +// +// The data is backed by a JSON file `dns-fallback-servers.json` that is updated +// by `update-dns-fallbacks.go`: +// +// (cd net/dnsfallback; go run update-dns-fallbacks.go) package dnsfallback import (