Skip to content

Conversation

@mlaventure
Copy link
Contributor

Signed-off-by: Kenfe-Mickael Laventure [email protected]

- What I did

  • Add a missing lock.
  • Take a lock a bit earlier

- How I did it

Updated the code :trollface:

- How to verify it

Moving the lock a bit earlier fixes #35497 99% of the time. For the missing lock, I haven't been able to get a reliable test

- Description for the changelog

🤷‍♂️

- A picture of a cute animal (not mandatory but encouraged)
🐱

Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
@tonistiigi
Copy link
Member

LGTM. Can we test this?

@mlaventure
Copy link
Contributor Author

The missing lock, like I said in the description, haven't been able to find a sure test.

The race, it'll be tested in docker/cli#696

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@thaJeztah thaJeztah merged commit 9d00efb into moby:master Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker attach does not return right exit code using 17.11+

4 participants