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

Add StopSignal to ContainerSpec for --stop-signal #1924

Merged
merged 1 commit into from
Feb 16, 2017

Conversation

yongtang
Copy link
Member

@yongtang yongtang commented Feb 6, 2017

This fix tries to address the issue raised in moby/moby#25696 where it was not possible to specify --stop-signal for docker service create and docker service update, in order to use specific signal to stop the container.

This fix adds StopSignal to ContainerSpec so that it is possible to specify --stop-signal for service update and service create

Related docker PR is moby/moby#30754

Signed-off-by: Yong Tang [email protected]

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 (not a maintainer here)

@aaronlehmann
Copy link
Collaborator

LGTM

1 similar comment
@dperny
Copy link
Collaborator

dperny commented Feb 10, 2017

LGTM

@vdemeester
Copy link
Member

@yongtang needs a rebase 👼

@aluzzardi
Copy link
Member

LGTM, needs rebase :)

This fix adds `StopSignal` to `ContainerSpec` so that
it is possible to implement `--stop-signal`
for `docker service create` and `docker service update`.

Signed-off-by: Yong Tang <[email protected]>
@codecov-io
Copy link

Codecov Report

Merging #1924 into master will increase coverage by 0.08%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1924      +/-   ##
==========================================
+ Coverage   54.35%   54.44%   +0.08%     
==========================================
  Files         108      108              
  Lines       18586    18587       +1     
==========================================
+ Hits        10102    10119      +17     
+ Misses       7252     7240      -12     
+ Partials     1232     1228       -4

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 120fae7...2167d44. Read the comment docs.

@yongtang
Copy link
Member Author

Sorry missed the notification on this PR :) The PR has been rebased and test passed. Merging...

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.

7 participants