Fix golint issues in pkg/kubelet/events/event.go

Change the single const statement in favor of multiple const event lists.
This way we don't need to put the name of the constant in the comment
and it's clearer that the comment refers to the whole list.
This commit is contained in:
Ruben
2019-11-19 13:15:08 +01:00
parent 81af5baff8
commit 55c83e3397
2 changed files with 25 additions and 10 deletions

View File

@@ -118,7 +118,6 @@ pkg/kubelet/dockershim/network/hostport
pkg/kubelet/dockershim/network/hostport/testing
pkg/kubelet/dockershim/network/kubenet
pkg/kubelet/dockershim/network/testing
pkg/kubelet/events
pkg/kubelet/lifecycle
pkg/kubelet/pluginmanager/pluginwatcher
pkg/kubelet/pod/testing