mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #1019 from brendandburns/minion
Add a log when we drop a minion because of health checks.
This commit is contained in:
commit
290ad4083c
@ -79,6 +79,8 @@ func (r *HealthyRegistry) List() (currentMinions []string, err error) {
|
|||||||
}
|
}
|
||||||
if status == health.Healthy {
|
if status == health.Healthy {
|
||||||
result = append(result, minion)
|
result = append(result, minion)
|
||||||
|
} else {
|
||||||
|
glog.Errorf("%s failed a health check, ignoring.", minion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result, nil
|
return result, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user