cmd/cloner: mangle "go:generate" in cloner.go

The "go generate" command blindly looks for "//go:generate" anywhere
in the file regardless of whether it is truly a comment.
Prevent this false positive in cloner.go by mangling the string
to look less like "//go:generate".

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
This commit is contained in:
Joe Tsai
2021-10-14 12:51:28 -07:00
committed by Brad Fitzpatrick
parent def650b3e8
commit 9af27ba829
8 changed files with 17 additions and 17 deletions

View File

@@ -41,11 +41,11 @@
"RegionName": "r11",
"Nodes": [
{
"Name": "11b",
"Name": "11a",
"RegionID": 11,
"HostName": "derp11b.tailscale.com",
"IPv4": "15.228.50.175",
"IPv6": "2600:1f1e:26e:2f01:fca6:2392:ea86:c768"
"HostName": "derp11.tailscale.com",
"IPv4": "18.230.97.74",
"IPv6": "2600:1f1e:ee4:5611:ec5c:1736:d43b:a454"
}
]
},