Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix race condition collecting pulled images IDs #10051

Merged
merged 1 commit into from Dec 7, 2022
Merged

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Dec 7, 2022

What I did
fix race condition: we only can set images ID after all pulls completed and we collected the digests.

Related issue
fixes #9897

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

pkg/compose/pull.go Outdated Show resolved Hide resolved
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Base: 75.74% // Head: 75.74% // No change to project coverage 👍

Coverage data is based on head (a73dce4) compared to base (804d716).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##               v2   #10051   +/-   ##
=======================================
  Coverage   75.74%   75.74%           
=======================================
  Files           2        2           
  Lines         235      235           
=======================================
  Hits          178      178           
  Misses         50       50           
  Partials        7        7           
Impacted Files Coverage Δ
pkg/e2e/framework.go 73.85% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@milas milas merged commit b27ace6 into docker:v2 Dec 7, 2022
@milas milas added the kind/bug label Dec 7, 2022
@ndeloof ndeloof deleted the 9897 branch December 20, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker-compose up re-creates container when it shouldn't
4 participants