mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
consolidate the pattern ``` pod = e2epod.NewPodClient(f).CreateSync(ctx, pod) podMap[string(pod.UID)] = pod ``` into a new helper function. More than reducing code duplication, this is to avoid bugs and leaks. Signed-off-by: Francesco Romani <fromani@redhat.com>