Skip to content

Commit

Permalink
Merge pull request #5213 from Freyert/gce-409-skip
Browse files Browse the repository at this point in the history
[gce]: skip instances on validation error
  • Loading branch information
k8s-ci-robot authored Oct 5, 2022
2 parents eded7ec + 28b92e7 commit f63315c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ func (client *autoscalingGceClientV1) waitForOp(operation *gce.Operation, projec
func (client *autoscalingGceClientV1) DeleteInstances(migRef GceRef, instances []GceRef) error {
registerRequest("instance_group_managers", "delete_instances")
req := gce.InstanceGroupManagersDeleteInstancesRequest{
Instances: []string{},
Instances: []string{},
SkipInstancesOnValidationError: true,
}
for _, i := range instances {
req.Instances = append(req.Instances, GenerateInstanceUrl(i))
Expand Down

0 comments on commit f63315c

Please sign in to comment.