-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Keep backwards compatibility in kill api. #15098
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
Conversation
Updated the issue number, I think this is the one you meant. |
@@ -87,3 +89,12 @@ func (s *DockerSuite) TestKillWithInvalidSignal(c *check.C) { | |||
c.Fatal("Container should be in running state after an invalid signal") | |||
} | |||
} | |||
|
|||
func (s *DockerSuite) TestKillofStoppedContainerOldAPI(c *check.C) { |
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.
instead of OldApi
, can we specify either 119
or Pre120
@thaJeztah issue number now refers to this PR LGTM other than being specific about API versions in the test name. |
@cpuguy83 oh darn! the previous number was a non existing issue, but was 10000 off of the PR that introduced this. Probably had the wrong issue on my clipboard, I'll search the right one. |
third time's a charm, think I got the right one now. Thanks Brian |
Return an error when the container is stopped only in api versions equal or greater than 1.20 (docker 1.8). Signed-off-by: David Calavera <david.calavera@gmail.com>
b58f9c7
to
621e3d8
Compare
Test name fixed. Thank you guys! |
LGTM (jankies are running) |
LGTM |
LGTM |
Green janky: merging. |
Keep backwards compatibility in kill api.
cherry picked into #15091 |
Return an error when the container is stopped only in api versions
equal or greater than 1.20 (docker 1.8).
Signed-off-by: David Calavera david.calavera@gmail.com