Update gce node return types
This commit is contained in:
parent
e91c23ff2d
commit
d43021b3f1
3 changed files with 6 additions and 6 deletions
|
|
@ -464,7 +464,7 @@ func (lbc *LoadBalancerController) getReadyNodeNames() ([]string, error) {
|
|||
if err != nil {
|
||||
return nodeNames, err
|
||||
}
|
||||
for _, n := range nodes.Items {
|
||||
for _, n := range nodes {
|
||||
if n.Spec.Unschedulable {
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue