Merge pull request #701 from bboreham/684-improve-errors

Improve ipam error messages

Closes #684.
This commit is contained in:
Matthias Radestock committed 2015-05-19 13:34:22 +01:00
commit f59facf5a6
4 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -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