tailscale/control/controlclient
Brad Fitzpatrick 7074c49db8 control/controlclient: fix panic regression from earlier load balancer hint header
In the recent 20e9f3369 we made HealthChangeRequest machine requests
include a NodeKey, as it was the oddball machine request that didn't
include one. Unfortunately, that code was sometimes being called (at
least in some of our integration tests) without a node key due to its
registration with health.RegisterWatcher(direct.ReportHealthChange).

Fortunately tests in corp caught this before we cut a release. It's
possible this only affects this particular integration test's
environment, but still worth fixing.

Updates tailscale/corp#1297

Change-Id: I84046779955105763dc1be5121c69fec3c138672
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 8444937c89)
2024-03-21 19:55:28 +00:00
..
auto.go control/controlclient,util/execqueue: extract execqueue into a package 2024-01-18 12:08:13 -08:00
client.go tsnet: add a test for restarting a tsnet server, fix Windows 2023-09-29 09:05:45 -07:00
controlclient_test.go all: use reflect.TypeFor now available in Go 1.22 (#11078) 2024-02-08 17:34:22 -08:00
direct.go control/controlclient: fix panic regression from earlier load balancer hint header 2024-03-21 19:55:28 +00:00
direct_test.go control/controlclient: add Auto.updateRoutine 2023-08-10 12:23:08 -07:00
map.go all: remove LenIter, use Go 1.22 range-over-int instead 2024-02-25 12:29:45 -08:00
map_test.go control/controlclient: support incremental packet filter updates [capver 81] 2023-11-17 10:07:12 -08:00
noise.go control/controlclient: send load balancing hint HTTP request header 2024-03-20 09:41:30 -07:00
noise_test.go control/controlclient: send load balancing hint HTTP request header 2024-03-20 09:41:30 -07:00
sign.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sign_supported.go control/controlclient: support certstore without cgo 2023-10-20 15:17:32 -04:00
sign_supported_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sign_unsupported.go control/controlclient: support certstore without cgo 2023-10-20 15:17:32 -04:00
status.go all: implement AppendText alongside MarshalText (#9207) 2023-09-01 18:15:19 -07:00