mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 23:36:29 -04:00
fixup! operators: ignore node deletion errors on absence
This commit is contained in:
parent
26c44aba26
commit
5949a5d329
@ -224,4 +224,4 @@ func isInstanceNotFoundError(err error) bool {
|
||||
return false
|
||||
}
|
||||
return strings.Contains(err.Error(), "Instance Id not found")
|
||||
}
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ func (c *Client) DeleteNode(ctx context.Context, providerID string) error {
|
||||
Project: instanceGroupProject,
|
||||
Zone: instanceGroupZone,
|
||||
InstanceGroupManagersDeleteInstancesRequestResource: &computepb.InstanceGroupManagersDeleteInstancesRequest{
|
||||
Instances: []string{instanceID},
|
||||
Instances: []string{instanceID},
|
||||
SkipInstancesOnValidationError: toPtr(true),
|
||||
},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user