mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-15 19:49:36 +00:00
`test/integration/kubelet` was failing staticcheck because it was calling `t.Fatal` from the non-main Go routine. Address this by sending errors causing t.Fatal back to a channel. The main thread can then iterate through this channel, and call t.Fatal if there are any errors in the channel.