Merge pull request #683 from mrjana/epclean
Handle maskable error during endpoint delete
This commit is contained in:
commit
e1e617a90b
1 changed files with 4 additions and 1 deletions
|
@ -536,7 +536,10 @@ func (ep *endpoint) deleteEndpoint() error {
|
|||
if _, ok := err.(types.ForbiddenError); ok {
|
||||
return err
|
||||
}
|
||||
log.Warnf("driver error deleting endpoint %s : %v", name, err)
|
||||
|
||||
if _, ok := err.(types.MaskableError); !ok {
|
||||
log.Warnf("driver error deleting endpoint %s : %v", name, err)
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue