mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
rename probe.Status to probe.Result.
This commit is contained in:
@@ -33,7 +33,7 @@ func New() ExecProber {
|
||||
|
||||
type ExecProber struct{}
|
||||
|
||||
func (pr ExecProber) Probe(e uexec.Cmd) (probe.Status, error) {
|
||||
func (pr ExecProber) Probe(e uexec.Cmd) (probe.Result, error) {
|
||||
data, err := e.CombinedOutput()
|
||||
glog.V(4).Infof("health check response: %s", string(data))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user