- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetObjectDefaults_Pod (0.14 sec)
-
pkg/apis/core/v1/defaults_test.go
}, Limits: v1.ResourceList{ v1.ResourceCPU: resource.MustParse("2n"), }, }, }, } pod := &v1.Pod{ Spec: s, } corev1.SetObjectDefaults_Pod(pod) if expect := resource.MustParse("1m"); expect.Cmp(pod.Spec.Containers[0].Resources.Requests[v1.ResourceMemory]) != 0 { t.Errorf("did not round resources: %#v", pod.Spec.Containers[0].Resources) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0)