mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-14 20:05:03 +00:00
People were misusing EncodeJSON in tests when they should be using runtime.EncodeOrDie(testapi.Codec(), obj). Removing the potential for cutting self on sharp objects.