This commit is contained in:
Bryan Boreham committed 2015-05-19 13:16:36 +01:00
1 parent ee7dac9e28
commit 0e55f75d86
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ func (g *allocate) Try(alloc *Allocator) bool {
}
func (g *allocate) Cancel() {
g.resultChan <- allocateResult{0, fmt.Errorf("Allocate request for %s cancelled, g.ident")}
g.resultChan <- allocateResult{0, fmt.Errorf("Allocate request for %s cancelled", g.ident)}
}
func (g *allocate) String() string {