Merge pull request #701 from bboreham/684-improve-errors
Improve ipam error messages Closes #684.
This commit is contained in:
commit
f59facf5a6
4 files changed
+10
-6
No files matched your search
+1
-1
@@ -242,7 +242,7 @@ func (alloc *Allocator) free(ident string) error {
|
||||
found = alloc.cancelOpsFor(&alloc.pendingClaims, ident) || found
|
||||
|
||||
if !found {
|
||||
errChan <- fmt.Errorf("No addresses for %s", ident)
|
||||
errChan <- fmt.Errorf("Free: no addresses for %s", ident)
|
||||
return
|
||||
}
|
||||
errChan <- nil
|
||||
|
||||
Reference in new issue
Block a user