Merge pull request #65390 from cfork/test

Automatic merge from submit-queue (batch tested with PRs 65518, 65624, 65380, 65390, 65586). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

cleanup: remove deadcode

/kind cleanup

remove deadcode
remove unnecessary conversion

```release-note
NONE
```

Kubernetes-commit: 16dbb95c51532e8a937a3ccb90223e8568b130c3
This commit is contained in:
Kubernetes Publisher 2018-06-29 18:30:16 -07:00
commit c2109436a0
2 changed files with 85 additions and 85 deletions

164
Godeps/Godeps.json generated
View File

@ -1,6 +1,6 @@
{ {
"ImportPath": "k8s.io/client-go", "ImportPath": "k8s.io/client-go",
"GoVersion": "go1.9", "GoVersion": "go1.10",
"GodepVersion": "v80", "GodepVersion": "v80",
"Packages": [ "Packages": [
"./..." "./..."
@ -268,327 +268,327 @@
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1alpha1", "ImportPath": "k8s.io/api/admissionregistration/v1alpha1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1beta1", "ImportPath": "k8s.io/api/admissionregistration/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1", "ImportPath": "k8s.io/api/apps/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta1", "ImportPath": "k8s.io/api/apps/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta2", "ImportPath": "k8s.io/api/apps/v1beta2",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1", "ImportPath": "k8s.io/api/authentication/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1beta1", "ImportPath": "k8s.io/api/authentication/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1", "ImportPath": "k8s.io/api/authorization/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1beta1", "ImportPath": "k8s.io/api/authorization/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v1", "ImportPath": "k8s.io/api/autoscaling/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v2beta1", "ImportPath": "k8s.io/api/autoscaling/v2beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1", "ImportPath": "k8s.io/api/batch/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1beta1", "ImportPath": "k8s.io/api/batch/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v2alpha1", "ImportPath": "k8s.io/api/batch/v2alpha1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/certificates/v1beta1", "ImportPath": "k8s.io/api/certificates/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/coordination/v1beta1", "ImportPath": "k8s.io/api/coordination/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/core/v1", "ImportPath": "k8s.io/api/core/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/events/v1beta1", "ImportPath": "k8s.io/api/events/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/extensions/v1beta1", "ImportPath": "k8s.io/api/extensions/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/imagepolicy/v1alpha1", "ImportPath": "k8s.io/api/imagepolicy/v1alpha1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/networking/v1", "ImportPath": "k8s.io/api/networking/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/policy/v1beta1", "ImportPath": "k8s.io/api/policy/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1", "ImportPath": "k8s.io/api/rbac/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1alpha1", "ImportPath": "k8s.io/api/rbac/v1alpha1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1beta1", "ImportPath": "k8s.io/api/rbac/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/scheduling/v1alpha1", "ImportPath": "k8s.io/api/scheduling/v1alpha1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/scheduling/v1beta1", "ImportPath": "k8s.io/api/scheduling/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/settings/v1alpha1", "ImportPath": "k8s.io/api/settings/v1alpha1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1", "ImportPath": "k8s.io/api/storage/v1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1alpha1", "ImportPath": "k8s.io/api/storage/v1alpha1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1beta1", "ImportPath": "k8s.io/api/storage/v1beta1",
"Rev": "9e5ffd1f1320950b238cfce291b926411f0af722" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/equality", "ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing", "ImportPath": "k8s.io/apimachinery/pkg/api/testing",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip", "ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand", "ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "ed135c5b96450fd24e5e981c708114fbbd950697" "Rev": "ded72da34a273a447508135b315f865aa6e48fc8"
}, },
{ {
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto", "ImportPath": "k8s.io/kube-openapi/pkg/util/proto",

View File

@ -94,7 +94,7 @@ func (p *Parser) consumeText() string {
// next returns the next rune in the input. // next returns the next rune in the input.
func (p *Parser) next() rune { func (p *Parser) next() rune {
if int(p.pos) >= len(p.input) { if p.pos >= len(p.input) {
p.width = 0 p.width = 0
return eof return eof
} }
@ -266,7 +266,7 @@ Loop:
} }
} }
text := p.consumeText() text := p.consumeText()
text = string(text[1 : len(text)-1]) text = text[1 : len(text)-1]
if text == "*" { if text == "*" {
text = ":" text = ":"
} }
@ -373,7 +373,7 @@ Loop:
} }
reg := regexp.MustCompile(`^([^!<>=]+)([!<>=]+)(.+?)$`) reg := regexp.MustCompile(`^([^!<>=]+)([!<>=]+)(.+?)$`)
text := p.consumeText() text := p.consumeText()
text = string(text[:len(text)-2]) text = text[:len(text)-2]
value := reg.FindStringSubmatch(text) value := reg.FindStringSubmatch(text)
if value == nil { if value == nil {
parser, err := parseAction("text", text) parser, err := parseAction("text", text)