From 46398968803701915801b4cbb107dc548c83f012 Mon Sep 17 00:00:00 2001 From: Han Kang Date: Thu, 27 Sep 2018 15:54:25 -0700 Subject: [PATCH] fix golint error on head. the type should not be declared with the var, as it will be inferred --- pkg/api/testing/deep_copy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/testing/deep_copy_test.go b/pkg/api/testing/deep_copy_test.go index a93ccd00aac..b29b2f5a313 100644 --- a/pkg/api/testing/deep_copy_test.go +++ b/pkg/api/testing/deep_copy_test.go @@ -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",