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

exclude unstable labels from config hash #10275

Merged
merged 1 commit into from Feb 13, 2023
Merged

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Feb 13, 2023

What I did
since 2.16.0 we introduced a replace label to track relationship between new container and the one it replaces
this label is transient, and MUST not be considered for config hash computation

Related issue
close #9600

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

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof requested review from a team, nicksieger, StefanScherer, ulyssessouza, glours, milas and laurazard and removed request for a team February 13, 2023 15:43
@codecov
Copy link

codecov bot commented Feb 13, 2023

Codecov Report

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

Coverage data is based on head (2487f88) compared to base (b19df5c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##               v2   #10275   +/-   ##
=======================================
  Coverage   72.79%   72.79%           
=======================================
  Files           2        2           
  Lines         272      272           
=======================================
  Hits          198      198           
  Misses         62       62           
  Partials       12       12           

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.

@ndeloof ndeloof merged commit 256ec49 into docker:v2 Feb 13, 2023
@ndeloof ndeloof deleted the hash_labels branch February 13, 2023 16:02
@benlangfeld
Copy link

This is a fix for a different bug than the one reported in #9600 . That issue should be re-opened.

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.

docker compose up recreates running container that does not have their configs changed in docker-compose.yml
3 participants