Skip to content

restart only needed services by checking depends_on relations#10338

Merged
glours merged 1 commit intodocker:v2from
glours:fix-restart-depends_on
Mar 2, 2023
Merged

restart only needed services by checking depends_on relations#10338
glours merged 1 commit intodocker:v2from
glours:fix-restart-depends_on

Conversation

@glours
Copy link
Contributor

@glours glours commented Mar 1, 2023

What I did
Fixed the issue that restarted all services without taking care of cli's params nor dependent services with an explicit restart option.

Related issue
closes #10337
Link to https://docker.atlassian.net/browse/ENV-65

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

@glours glours requested review from milas and ndeloof March 1, 2023 16:40
@glours glours force-pushed the fix-restart-depends_on branch from 4edff17 to 0a5ece7 Compare March 1, 2023 16:50
@glours glours requested a review from ndeloof March 1, 2023 16:50
@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (a3bed26) 74.18% compared to head (3cfbac6) 74.18%.

Additional details and impacted files
@@           Coverage Diff           @@
##               v2   #10338   +/-   ##
=======================================
  Coverage   74.18%   74.18%           
=======================================
  Files           2        2           
  Lines         275      275           
=======================================
  Hits          204      204           
  Misses         60       60           
  Partials       11       11           

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.

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
@glours glours force-pushed the fix-restart-depends_on branch from 0a5ece7 to 3cfbac6 Compare March 1, 2023 17:22
@glours glours mentioned this pull request Mar 1, 2023
@glours glours self-assigned this Mar 1, 2023
@glours glours merged commit a84345b into docker:v2 Mar 2, 2023
@glours glours deleted the fix-restart-depends_on branch March 2, 2023 09:14
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.

[BUG] restart ${service} always restart all services

2 participants