mirror of https://github.com/k3s-io/k3s
kubectl validation test: remove unused testapi dependency
parent
7bcdd8b55c
commit
9e2b995b54
|
@ -29,7 +29,6 @@ go_test(
|
||||||
data = ["//api/openapi-spec:swagger-spec"],
|
data = ["//api/openapi-spec:swagger-spec"],
|
||||||
embed = [":go_default_library"],
|
embed = [":go_default_library"],
|
||||||
deps = [
|
deps = [
|
||||||
"//pkg/api/testapi:go_default_library",
|
|
||||||
"//pkg/kubectl/cmd/util/openapi:go_default_library",
|
"//pkg/kubectl/cmd/util/openapi:go_default_library",
|
||||||
"//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
|
"//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
|
||||||
"//vendor/github.com/onsi/ginkgo:go_default_library",
|
"//vendor/github.com/onsi/ginkgo:go_default_library",
|
||||||
|
|
|
@ -26,7 +26,6 @@ import (
|
||||||
"k8s.io/kube-openapi/pkg/util/proto/validation"
|
"k8s.io/kube-openapi/pkg/util/proto/validation"
|
||||||
// This dependency is needed to register API types.
|
// This dependency is needed to register API types.
|
||||||
"k8s.io/kube-openapi/pkg/util/proto/testing"
|
"k8s.io/kube-openapi/pkg/util/proto/testing"
|
||||||
_ "k8s.io/kubernetes/pkg/api/testapi"
|
|
||||||
"k8s.io/kubernetes/pkg/kubectl/cmd/util/openapi"
|
"k8s.io/kubernetes/pkg/kubectl/cmd/util/openapi"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue