Signed-off-by: Marcos Lorenzo <mlorenzo@stratio.com>
pull/10893/head
Marcos Lorenzo 3 years ago
parent edfb005595
commit 1efe53e2cc
No known key found for this signature in database
GPG Key ID: DFF4210756D2EF4B

@ -326,7 +326,7 @@ func (c *Client) Delete(resources ResourceList) (*Result, []error) {
defer mtx.Unlock()
return nil
}
err2 := deleteResource(info)
err2 = deleteResource(info)
if err2 == nil || apierrors.IsNotFound(err2) {
if err2 != nil {
c.Log("Ignoring delete failure for %q %s: %v", info.Name, info.Mapping.GroupVersionKind, err2)

Loading…
Cancel
Save