kubectl validation test: remove unused testapi dependency

pull/58/head
Sean Sullivan 2018-10-02 13:09:29 -07:00
parent 7bcdd8b55c
commit 9e2b995b54
2 changed files with 0 additions and 2 deletions

View File

@ -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",

View File

@ -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"
) )