Merge pull request #73441 from roycaihw/cleanup/remove-swagger-json-endpoints

Remove remaining code for deprecated openapi paths

Kubernetes-commit: 31c6a2ba355687363ee694611148b7c67a0ae8d4
This commit is contained in:
Kubernetes Publisher 2019-02-06 13:24:02 -08:00
commit 2e9cc3b939
2 changed files with 85 additions and 85 deletions

168
Godeps/Godeps.json generated
View File

@ -272,339 +272,339 @@
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1beta1", "ImportPath": "k8s.io/api/admissionregistration/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1", "ImportPath": "k8s.io/api/apps/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta1", "ImportPath": "k8s.io/api/apps/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta2", "ImportPath": "k8s.io/api/apps/v1beta2",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/auditregistration/v1alpha1", "ImportPath": "k8s.io/api/auditregistration/v1alpha1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1", "ImportPath": "k8s.io/api/authentication/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1beta1", "ImportPath": "k8s.io/api/authentication/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1", "ImportPath": "k8s.io/api/authorization/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1beta1", "ImportPath": "k8s.io/api/authorization/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v1", "ImportPath": "k8s.io/api/autoscaling/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v2beta1", "ImportPath": "k8s.io/api/autoscaling/v2beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v2beta2", "ImportPath": "k8s.io/api/autoscaling/v2beta2",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1", "ImportPath": "k8s.io/api/batch/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1beta1", "ImportPath": "k8s.io/api/batch/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v2alpha1", "ImportPath": "k8s.io/api/batch/v2alpha1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/certificates/v1beta1", "ImportPath": "k8s.io/api/certificates/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/coordination/v1", "ImportPath": "k8s.io/api/coordination/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/coordination/v1beta1", "ImportPath": "k8s.io/api/coordination/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/core/v1", "ImportPath": "k8s.io/api/core/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/events/v1beta1", "ImportPath": "k8s.io/api/events/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/extensions/v1beta1", "ImportPath": "k8s.io/api/extensions/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/imagepolicy/v1alpha1", "ImportPath": "k8s.io/api/imagepolicy/v1alpha1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/networking/v1", "ImportPath": "k8s.io/api/networking/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/policy/v1beta1", "ImportPath": "k8s.io/api/policy/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1", "ImportPath": "k8s.io/api/rbac/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1alpha1", "ImportPath": "k8s.io/api/rbac/v1alpha1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1beta1", "ImportPath": "k8s.io/api/rbac/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/scheduling/v1alpha1", "ImportPath": "k8s.io/api/scheduling/v1alpha1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/scheduling/v1beta1", "ImportPath": "k8s.io/api/scheduling/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/settings/v1alpha1", "ImportPath": "k8s.io/api/settings/v1alpha1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1", "ImportPath": "k8s.io/api/storage/v1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1alpha1", "ImportPath": "k8s.io/api/storage/v1alpha1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1beta1", "ImportPath": "k8s.io/api/storage/v1beta1",
"Rev": "663a691defed6e6bedb42d02dd5222e3c00ff229" "Rev": "7d75eb91fcfa0970eb3235898f5b9e4a4eddbce8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/equality", "ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/naming", "ImportPath": "k8s.io/apimachinery/pkg/util/naming",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand", "ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "615495ca8cddee7160e9983067a972e8dd572929" "Rev": "4b4ea28f279089e0cfafcc2d47479a5bd1a0964f"
}, },
{ {
"ImportPath": "k8s.io/klog", "ImportPath": "k8s.io/klog",

View File

@ -392,7 +392,7 @@ func (d *DiscoveryClient) OpenAPISchema() (*openapi_v2.Document, error) {
if err != nil { if err != nil {
if errors.IsForbidden(err) || errors.IsNotFound(err) || errors.IsNotAcceptable(err) { if errors.IsForbidden(err) || errors.IsNotFound(err) || errors.IsNotAcceptable(err) {
// single endpoint not found/registered in old server, try to fetch old endpoint // single endpoint not found/registered in old server, try to fetch old endpoint
// TODO(roycaihw): remove this in 1.11 // TODO: remove this when kubectl/client-go don't work with 1.9 server
data, err = d.restClient.Get().AbsPath("/swagger-2.0.0.pb-v1").Do().Raw() data, err = d.restClient.Get().AbsPath("/swagger-2.0.0.pb-v1").Do().Raw()
if err != nil { if err != nil {
return nil, err return nil, err