Review feedback

This commit is contained in:
Bryan Boreham committed 2015-09-15 16:18:37 +01:00
1 parent a7e0f03647
commit d55c68c248
2 files changed
+9 -13

No files matched your search

+2 -2
View File
@@ -131,9 +131,9 @@ func (alloc *Allocator) cancelOpsFor(ops *[]operation, ident string) bool {
found = true
op.Cancel()
*ops = append((*ops)[:i], (*ops)[i+1:]...)
continue
} else {
i++
}
i++
}
return found
}