cmd/cloner: add Clone context to regen struct assignments

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
Josh Bleecher Snyder
2021-09-16 15:58:43 -07:00
committed by Josh Bleecher Snyder
parent 618376dbc0
commit d5ab18b2e6
7 changed files with 17 additions and 17 deletions

View File

@@ -27,7 +27,7 @@ func (src *Match) Clone() *Match {
}
// A compilation failure here means this code must be regenerated, with the command at the top of this file.
var _MatchNeedsRegeneration = Match(struct {
var _MatchCloneNeedsRegeneration = Match(struct {
IPProto []ipproto.Proto
Dsts []NetPortRange
Srcs []netaddr.IPPrefix