Skip to content

Conversation

bboreham
Copy link
Contributor

Fixes #3735.

The change might appear confusing; since updateSpec and updateSubcontainers expect the lock not to be held, we need to unlock before calling them then re-lock when GetInfo does its own update.

I tried a few other variants, but they all seemed even more confusing.

Since `updateSpec` and `updateSubcontainers` expect the lock not to be
held, we need to unlock before calling them then re-lock when `GetInfo`
does its own update.

Signed-off-by: Bryan Boreham <[email protected]>
@Creatone
Copy link
Contributor

/ok-to-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data race in containerData.GetInfo()
2 participants