Skip to content

Commit

Permalink
Merge pull request #270 from enxebre/update
Browse files Browse the repository at this point in the history
Use getMachineInstances to find instances during update() call
  • Loading branch information
openshift-merge-robot authored Nov 18, 2019
2 parents 0ee2017 + 9f19609 commit 65c621a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/actuators/machine/actuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (a *Actuator) Update(context context.Context, cluster *clusterv1.Cluster, m
return a.handleMachineError(machine, err, updateEventAction)
}
// Get all instances not terminated.
existingInstances, err := getExistingInstances(machine, client)
existingInstances, err := a.getMachineInstances(cluster, machine)
if err != nil {
glog.Errorf("%s: error getting existing instances: %v", machine.Name, err)
return err
Expand Down

0 comments on commit 65c621a

Please sign in to comment.