mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 06:32:32 +00:00
Clean up error logs.
Use %v for errors, tidy some messages, make error messages start lowe-case (as per go guidelines). Just accumulated nits.
This commit is contained in:
@@ -75,7 +75,7 @@ func (r *HealthyRegistry) ListMinions(ctx api.Context) (currentMinions *api.Mini
|
||||
for _, minion := range list.Items {
|
||||
status, err := r.client.HealthCheck(minion.Name)
|
||||
if err != nil {
|
||||
glog.V(1).Infof("%#v failed health check with error: %s", minion, err)
|
||||
glog.V(1).Infof("%#v failed health check with error: %v", minion, err)
|
||||
continue
|
||||
}
|
||||
if status == health.Healthy {
|
||||
|
Reference in New Issue
Block a user