Skip to content

Commit

Permalink
Fix golint failures for pkg/kubelet/config/...
Browse files Browse the repository at this point in the history
Address the final golint failure by adding a comment explaining our
blank import.
  • Loading branch information
mattjmcnaughton committed Nov 7, 2019
1 parent c843d96 commit d303197
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion hack/.golint_failures
Expand Up @@ -113,7 +113,6 @@ pkg/kubelet/apis/config
pkg/kubelet/apis/config/v1beta1
pkg/kubelet/checkpointmanager/testing/example_checkpoint_formats/v1
pkg/kubelet/cm
pkg/kubelet/config
pkg/kubelet/container
pkg/kubelet/container/testing
pkg/kubelet/dockershim
Expand Down
1 change: 1 addition & 0 deletions pkg/kubelet/config/common.go
Expand Up @@ -34,6 +34,7 @@ import (
// api.Registry.GroupOrDie(v1.GroupName).GroupVersion.String() is changed
// to "v1"?
"k8s.io/kubernetes/pkg/api/legacyscheme"
// Ensure that core apis are installed
_ "k8s.io/kubernetes/pkg/apis/core/install"
k8s_api_v1 "k8s.io/kubernetes/pkg/apis/core/v1"
"k8s.io/kubernetes/pkg/apis/core/validation"
Expand Down

0 comments on commit d303197

Please sign in to comment.