Fix golint issues in pkg/kubelet/prober/results

This commit is contained in:
obitech 2019-05-25 21:57:22 +02:00
parent 897e8c0de6
commit b767b1b250
2 changed files with 4 additions and 2 deletions

View File

@ -170,7 +170,6 @@ pkg/kubelet/metrics
pkg/kubelet/pluginmanager/pluginwatcher
pkg/kubelet/pod/testing
pkg/kubelet/preemption
pkg/kubelet/prober/results
pkg/kubelet/prober/testing
pkg/kubelet/qos
pkg/kubelet/remote

View File

@ -19,7 +19,7 @@ package results
import (
"sync"
"k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/types"
kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
)
@ -43,7 +43,10 @@ type Manager interface {
type Result bool
const (
// Success is encoded as "true" (type Result)
Success Result = true
// Failure is encoded as "false" (type Result)
Failure Result = false
)