mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Fix golint issues in pkg/kubelet/prober/results
This commit is contained in:
parent
897e8c0de6
commit
b767b1b250
@ -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
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user