diff options
| author | James Tucker <james@tailscale.com> | 2023-09-14 10:52:37 -0700 |
|---|---|---|
| committer | James Tucker <jftucker@gmail.com> | 2023-09-14 11:36:34 -0700 |
| commit | 1858ad65c8e28eb6cc0b289480afc5b717597c1c (patch) | |
| tree | fe90ad67a00cb62241fabfcb395790fa6232e3be /control/controlknobs/controlknobs.go | |
| parent | 85155ddaf311ea9cffbdf0de495e3794f5e89526 (diff) | |
| download | tailscale-1858ad65c8e28eb6cc0b289480afc5b717597c1c.tar.xz tailscale-1858ad65c8e28eb6cc0b289480afc5b717597c1c.zip | |
cmd/cloner: do not allocate slices when the source is nil
tailcfg.Node zero-value clone equality checks failed when I added a
[]*foo to the structure, as the zero value and it's clone contained a
different slice header.
Updates #9377
Updates #9408
Signed-off-by: James Tucker <james@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
