diff options
| author | Fernando Serboncini <fserb@tailscale.com> | 2026-05-14 10:30:59 -0400 |
|---|---|---|
| committer | Jonathan Nobels <jonathan@tailscale.com> | 2026-05-14 10:37:18 -0400 |
| commit | b192880cb4850248ee8d1997b247709eb85c6d56 (patch) | |
| tree | 21046c47ed12f4be58afd27278a4a66cb15db074 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | f13500e12f2fe3f1b6d8e39a86b90beae8efd89a (diff) | |
| download | tailscale-b192880cb4850248ee8d1997b247709eb85c6d56.tar.xz tailscale-b192880cb4850248ee8d1997b247709eb85c6d56.zip | |
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 2a06fb66d0fb462585d27d2ba7957cabc61eec6a)
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
