mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
net/dns: fix recently added URL scheme from http to https
I typoed/brainoed in the earlier 3582628691
Change-Id: Ic198a6f9911f195d9da9fc5259b5784a4b15e5e3
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
eec734a578
commit
3addcacfe9
@ -88,7 +88,7 @@ func testDirect(t *testing.T, fs wholeFileFS) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
want := `# resolv.conf(5) file generated by tailscale
|
||||
# For more info, see http://tailscale.com/s/resolvconf-overwrite
|
||||
# For more info, see https://tailscale.com/s/resolvconf-overwrite
|
||||
# DO NOT EDIT THIS FILE BY HAND -- CHANGES WILL BE OVERWRITTEN
|
||||
|
||||
nameserver 8.8.8.8
|
||||
|
@ -42,7 +42,7 @@ type Config struct {
|
||||
func (c *Config) Write(w io.Writer) error {
|
||||
buf := new(bytes.Buffer)
|
||||
io.WriteString(buf, "# resolv.conf(5) file generated by tailscale\n")
|
||||
io.WriteString(buf, "# For more info, see http://tailscale.com/s/resolvconf-overwrite\n")
|
||||
io.WriteString(buf, "# For more info, see https://tailscale.com/s/resolvconf-overwrite\n")
|
||||
io.WriteString(buf, "# DO NOT EDIT THIS FILE BY HAND -- CHANGES WILL BE OVERWRITTEN\n\n")
|
||||
for _, ns := range c.Nameservers {
|
||||
io.WriteString(buf, "nameserver ")
|
||||
|
Loading…
Reference in New Issue
Block a user