Skip to content

send out a cancel event on SIGINT/SIGTERM signal for compose up#11230

Merged
ndeloof merged 1 commit intodocker:mainfrom
vyneer:up-cancel-event
Nov 30, 2023
Merged

send out a cancel event on SIGINT/SIGTERM signal for compose up#11230
ndeloof merged 1 commit intodocker:mainfrom
vyneer:up-cancel-event

Conversation

@vyneer
Copy link
Contributor

@vyneer vyneer commented Nov 28, 2023

What I did
Re-added the printer.Cancel() call to the SIGINT/SIGTERM signal handling for docker compose up. It being missing caused the output on Ctrl-C to be slightly messed up, due to %container% exited with code %code% messages interrupting the otherwise neat status info.

Before and after

comp

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

Signed-off-by: vyneer <vyn33r@gmail.com>
@codecov
Copy link

codecov bot commented Nov 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f5e3ff0) 56.81% compared to head (4405b95) 56.81%.
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11230   +/-   ##
=======================================
  Coverage   56.81%   56.81%           
=======================================
  Files         133      133           
  Lines       11500    11500           
=======================================
  Hits         6534     6534           
+ Misses       4329     4327    -2     
- Partials      637      639    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ndeloof ndeloof merged commit 1f14824 into docker:main Nov 30, 2023
@ndeloof
Copy link
Contributor

ndeloof commented Nov 30, 2023

nice!

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.

2 participants