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

Change stop_wait_time value to match Docker default #858

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

sebcdri
Copy link
Contributor

@sebcdri sebcdri commented Sep 16, 2022

According to Docker documentation, the --time option default value is 10 seconds.

The module set this value to 0, causing immediate destruction of the container instead of leaving it a 10s grace time to shutdown.

Use the default value of 10 to honor the default behavior.

According to Docker documentation¹, the `--time` option default value is 
10 seconds.

[1] https://docs.docker.com/engine/reference/commandline/stop/
@sebcdri sebcdri requested a review from a team as a code owner September 16, 2022 07:44
@CLAassistant
Copy link

CLAassistant commented Sep 16, 2022

CLA assistant check
All committers have signed the CLA.

@puppet-community-rangefinder
Copy link

docker::run is a type

Breaking changes to this file WILL impact these 9 modules (exact match):
Breaking changes to this file MAY impact these 22 modules (near match):

This module is declared in 6 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

Copy link
Collaborator

@smortex smortex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smortex smortex changed the title Change stop_wait_time value to Docker default Change stop_wait_time value to match Docker default Sep 19, 2022
@LukasAud
Copy link
Contributor

LGTM. Failures are unrelated. Thanks for your contribution!

@LukasAud LukasAud merged commit a6e6b67 into puppetlabs:main Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants