mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 22:20:51 +00:00
fix 'go vet' warnings
This commit is contained in:
@@ -81,7 +81,7 @@ func (r *HealthyRegistry) ListMinions(ctx api.Context) (currentMinions *api.Mini
|
||||
if status == health.Healthy {
|
||||
result.Items = append(result.Items, minion)
|
||||
} else {
|
||||
glog.Errorf("%s failed a health check, ignoring.", minion)
|
||||
glog.Errorf("%#v failed a health check, ignoring.", minion)
|
||||
}
|
||||
}
|
||||
return result, nil
|
||||
|
@@ -152,7 +152,7 @@ func TestMinionStorageValidUpdate(t *testing.T) {
|
||||
"baz": "home",
|
||||
}
|
||||
if _, err = storage.Update(ctx, minion); err != nil {
|
||||
t.Error("Unexpected error: %v", err)
|
||||
t.Errorf("Unexpected error: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user