mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
pkg/api/legacyscheme: fixup imports
This commit is contained in:
@@ -23,6 +23,7 @@ import (
|
||||
"k8s.io/apiserver/pkg/storage/names"
|
||||
"k8s.io/kubernetes/pkg/api"
|
||||
endptspkg "k8s.io/kubernetes/pkg/api/endpoints"
|
||||
"k8s.io/kubernetes/pkg/api/legacyscheme"
|
||||
"k8s.io/kubernetes/pkg/api/validation"
|
||||
)
|
||||
|
||||
@@ -34,7 +35,7 @@ type endpointsStrategy struct {
|
||||
|
||||
// Strategy is the default logic that applies when creating and updating Endpoint
|
||||
// objects via the REST API.
|
||||
var Strategy = endpointsStrategy{api.Scheme, names.SimpleNameGenerator}
|
||||
var Strategy = endpointsStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
|
||||
|
||||
// NamespaceScoped is true for endpoints.
|
||||
func (endpointsStrategy) NamespaceScoped() bool {
|
||||
|
||||
Reference in New Issue
Block a user