Commit 19423e62 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #45219 from CaoShuFeng/golint

Automatic merge from submit-queue Fix golint verify error I don't know why CI pass the hack/verify-golint.sh test. But in my environment I get this: > staging/src/k8s.io/client-go/util/workqueue/queue_test.go is in package workqueue_test, not workqueue Errors from golint: test/integration/apiserver/apiserver_test.go:102:13: should omit type string from declaration of var cascDel; it will be inferred from the right-hand side Please fix the above errors. You can test via "golint" and commit the result. !!! Error in hack/verify-golint.sh:98 Error in hack/verify-golint.sh:98. 'false' exited with status 1 Call stack: 1: hack/verify-golint.sh:98 main(...) Exiting with status 1 This change fix this err in my environment. **Release note**: ```NONE ```
parents 3badd5f3 3b208758
...@@ -99,7 +99,7 @@ func newRS(namespace string) *v1beta1.ReplicaSet { ...@@ -99,7 +99,7 @@ func newRS(namespace string) *v1beta1.ReplicaSet {
} }
} }
var cascDel string = ` var cascDel = `
{ {
"kind": "DeleteOptions", "kind": "DeleteOptions",
"apiVersion": "` + api.Registry.GroupOrDie(api.GroupName).GroupVersion.String() + `", "apiVersion": "` + api.Registry.GroupOrDie(api.GroupName).GroupVersion.String() + `",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment