• Michael Taufen's avatar
    Bug fix: Use p.Name instead of pod.Name · 73f2c55e
    Michael Taufen authored
    For example, if you used pod.GenerateName, pod.Name might be the empty
    string while p.Name contains the actual name of your pod. Thus passing
    pod.Name can result in a `resource name may not be empty` error.
    73f2c55e
pods.go 3.26 KB