Address review comments
This commit is contained in:
@@ -23,6 +23,7 @@ import (
|
||||
|
||||
fuzz "github.com/google/gofuzz"
|
||||
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/api/resource"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
@@ -85,7 +86,7 @@ var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
|
||||
s.SchedulerName = core.DefaultSchedulerName
|
||||
}
|
||||
if s.EnableServiceLinks == nil {
|
||||
enableServiceLinks := core.DefaultEnableServiceLinks
|
||||
enableServiceLinks := corev1.DefaultEnableServiceLinks
|
||||
s.EnableServiceLinks = &enableServiceLinks
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user