mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 01:26:28 +00:00
Fix print type of podname
This commit is contained in:
parent
d3146080b4
commit
52b546eea1
@ -481,7 +481,7 @@ func TestPodLimitFuncApplyDefault(t *testing.T) {
|
||||
testPod := validPodInit(validPod("foo", 1, getResourceRequirements(api.ResourceList{}, api.ResourceList{})), getResourceRequirements(api.ResourceList{}, api.ResourceList{}))
|
||||
err := PodLimitFunc(&limitRange, &testPod)
|
||||
if err != nil {
|
||||
t.Errorf("Unexpected error for valid pod: %v, %v", testPod.Name, err)
|
||||
t.Errorf("Unexpected error for valid pod: %s, %v", testPod.Name, err)
|
||||
}
|
||||
|
||||
for i := range testPod.Spec.Containers {
|
||||
|
Loading…
Reference in New Issue
Block a user