-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add signal query argument for Restart Container command #2186
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 signal query argument for Restart Container command #2186
Conversation
Can you add a test, please? |
I added an integration test that covers the new functionality. I also had to add new API versions to the BTW The test |
Hi @eddumelendez |
.withRegistryUrl("https://index.docker.io/v1/") | ||
.build(); | ||
try (DockerClient dockerClient = createDockerClient(dockerClientConfig)) { | ||
if (!getVersion(dockerClient).isGreaterOrEqual(RemoteApiVersion.VERSION_1_42)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can use Assume instead.
Thanks for your contribution, @dmmax ! |
Linked to the issue: #2123