Review feedback
This commit is contained in:
1 parent
a7e0f03647
commit
d55c68c248
2 files changed
+9
-13
No files matched your search
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user