mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Address review comments
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
// DeepEqualSafePodSpec returns a PodSpec which is ready to be used with apiequality.Semantic.DeepEqual
|
||||
func DeepEqualSafePodSpec() api.PodSpec {
|
||||
grace := int64(30)
|
||||
enableServiceLinks := api.DefaultEnableServiceLinks
|
||||
enableServiceLinks := v1.DefaultEnableServiceLinks
|
||||
return api.PodSpec{
|
||||
RestartPolicy: api.RestartPolicyAlways,
|
||||
DNSPolicy: api.DNSClusterFirst,
|
||||
@@ -38,7 +38,7 @@ func DeepEqualSafePodSpec() api.PodSpec {
|
||||
// V1DeepEqualSafePodSpec returns a PodSpec which is ready to be used with apiequality.Semantic.DeepEqual
|
||||
func V1DeepEqualSafePodSpec() v1.PodSpec {
|
||||
grace := int64(30)
|
||||
enableServiceLinks := api.DefaultEnableServiceLinks
|
||||
enableServiceLinks := v1.DefaultEnableServiceLinks
|
||||
return v1.PodSpec{
|
||||
RestartPolicy: v1.RestartPolicyAlways,
|
||||
DNSPolicy: v1.DNSClusterFirst,
|
||||
|
||||
Reference in New Issue
Block a user