diff options
| author | Bjorn Neergaard <bjorn@neersighted.com> | 2024-12-11 02:52:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-11 09:52:56 +0000 |
| commit | 8b1d01161bbca8a26c2a50208444087c9fa2b3f1 (patch) | |
| tree | 101a9e92d219b18b112ef754fec3c642fd289964 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | d54cd593905fc0bc7cc13009e1db2741bf6960e4 (diff) | |
| download | tailscale-8b1d01161bbca8a26c2a50208444087c9fa2b3f1.tar.xz tailscale-8b1d01161bbca8a26c2a50208444087c9fa2b3f1.zip | |
cmd/containerboot: guard kubeClient against nil dereference (#14357)
A method on kc was called unconditionally, even if was not initialized,
leading to a nil pointer dereference when TS_SERVE_CONFIG was set
outside Kubernetes.
Add a guard symmetric with other uses of the kubeClient.
Fixes #14354.
Signed-off-by: Bjorn Neergaard <bjorn@neersighted.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
