tailscale/tailcfg
Fernando Serboncini b192880cb4 cmd/cloner: preserve nil-valued entries when cloning map (#19749)
The codegen path for map-of-slice-of-pointer fields, skipped
nil-valued entries. That dropped the key from the map.

This broke how dns.Config.Routes uses nil values sentinels.

Fixes #19730
Fixes #19732
Fixes #19746
Fixes #19744

Change-Id: Ic6400227f4ab21b3ca0e8c0eeecf9b83d145a9ab

Signed-off-by: Fernando Serboncini <fserb@tailscale.com>
(cherry picked from commit 2a06fb66d0)
2026-05-14 10:37:18 -04:00
..
c2ntypes.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
derpmap.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
proto_port_range_test.go cmd/vet: add subtestnames analyzer; fix all existing violations 2026-04-05 15:52:51 -07:00
proto_port_range.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tailcfg_clone.go cmd/cloner: preserve nil-valued entries when cloning map (#19749) 2026-05-14 10:37:18 -04:00
tailcfg_test.go cmd/vet: add subtestnames analyzer; fix all existing violations 2026-04-05 15:52:51 -07:00
tailcfg_view.go tailcfg: reintroduce UserProfile.Groups 2026-03-09 11:08:45 +00:00
tailcfg.go tailcfg: add node capability for services in desktop clients (#19605) 2026-05-01 12:07:33 -07:00
tka.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00