Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Use explicit index into operations slice in cancelOpsFor() #1429

Merged
merged 2 commits into from
Sep 15, 2015
Merged

Conversation

bboreham
Copy link
Contributor

to avoid mis-indexing when more than one op is removed

Fixes #1424

to avoid mis-indexing when more than one op is removed

alloc1.ContainerDied(container1)

if <-doneChan || <-doneChan {

This comment was marked as abuse.

This comment was marked as abuse.

@rade rade self-assigned this Sep 15, 2015
}
i++

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@rade rade assigned bboreham and unassigned rade Sep 15, 2015
@bboreham bboreham assigned rade and unassigned bboreham Sep 15, 2015
rade added a commit that referenced this pull request Sep 15, 2015
Use explicit index into operations slice in cancelOpsFor()

Fixes #1424
@rade rade merged commit 8e656c1 into 1.1 Sep 15, 2015
@rade rade added this to the 1.1.1 milestone Sep 18, 2015
@rade rade deleted the 1424-fix-cancel branch October 1, 2015 15:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants