fix some golint failures of pkg/kubelet

This commit is contained in:
SataQiu
2019-04-22 10:40:51 +08:00
parent 75d45bdfc9
commit f5736f3fd1
2 changed files with 5 additions and 3 deletions

View File

@@ -19,9 +19,11 @@ package kubelet
import "errors"
const (
// NetworkNotReadyErrorMsg is used to describe the error that network is not ready
NetworkNotReadyErrorMsg = "network is not ready"
)
var (
// ErrNetworkUnknown indicates the network state is unknown
ErrNetworkUnknown = errors.New("network state unknown")
)