Merge pull request #69185 from logicalhan/fix-current-lint-issue

Fix a golint error on head (type doesn't need to declared as it will be inferred)
This commit is contained in:
k8s-ci-robot 2018-09-30 05:46:25 -07:00 committed by GitHub
commit 04f13b63e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ func parseTimeOrDie(ts string) metav1.Time {
return metav1.Time{Time: t}
}
var benchmarkPod api.Pod = api.Pod{
var benchmarkPod = api.Pod{
TypeMeta: metav1.TypeMeta{
Kind: "Pod",
APIVersion: "v1",