mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
refactor: use metav1.ObjectMeta in other types
This commit is contained in:
@@ -309,7 +309,7 @@ func getPods(specs []*testPodSpec) (pods []*v1.Pod) {
|
||||
})
|
||||
}
|
||||
pods = append(pods, &v1.Pod{
|
||||
ObjectMeta: v1.ObjectMeta{Name: spec.podName},
|
||||
ObjectMeta: metav1.ObjectMeta{Name: spec.podName},
|
||||
Spec: v1.PodSpec{
|
||||
RestartPolicy: v1.RestartPolicyAlways,
|
||||
Containers: containers,
|
||||
|
||||
Reference in New Issue
Block a user