mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
fix golint error on head. the type should not be declared with the var, as it will be inferred
This commit is contained in:
parent
e5964b3fcc
commit
4639896880
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user