Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Conversation

@sboeuf
Copy link
Contributor

@sboeuf sboeuf commented Jun 23, 2017

Regarding a recent update of the OCI specification, we don't want to generate an error when 'kill' command is called on a container which has been created but not started.

This is basically a no-op in our case.

@sboeuf
Copy link
Contributor Author

sboeuf commented Jun 23, 2017

This PR refers to opencontainers/runtime-spec#875

@coveralls
Copy link

coveralls commented Jun 23, 2017

Coverage Status

Coverage decreased (-0.08%) to 47.083% when pulling 01df368 on sboeuf/fix_kill into 2c431f7 on master.

kill.go Outdated
if status.State.State != vc.StateRunning {
// container MUST be created or running
if status.State.State == vc.StateReady {
ccLog.Infof("Container state 'created', nothing to do")

Choose a reason for hiding this comment

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

Which container?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated :)

@sboeuf sboeuf force-pushed the sboeuf/fix_kill branch from 01df368 to bcba230 Compare June 26, 2017 13:09
@jodh-intel
Copy link

jodh-intel commented Jun 26, 2017

lgtm

Approved with PullApprove Approved with PullApprove

@coveralls
Copy link

coveralls commented Jun 26, 2017

Coverage Status

Coverage decreased (-0.08%) to 47.083% when pulling bcba230 on sboeuf/fix_kill into 2c431f7 on master.

@amshinde
Copy link
Contributor

amshinde commented Jun 26, 2017

lgtm

Approved with PullApprove

@sboeuf sboeuf force-pushed the sboeuf/fix_kill branch from bcba230 to c19e8fa Compare June 27, 2017 13:08
@coveralls
Copy link

coveralls commented Jun 27, 2017

Coverage Status

Coverage decreased (-0.08%) to 47.664% when pulling c19e8fa on sboeuf/fix_kill into 9c2b909 on master.

Regarding a recent update of the OCI specification, we don't want to
generate an error when 'kill' command is called on a container which
has been created but not started.

This is basically a no-op in our case.

Signed-off-by: Sebastien Boeuf <[email protected]>
@sboeuf sboeuf force-pushed the sboeuf/fix_kill branch from c19e8fa to 780f52d Compare June 27, 2017 14:26
@coveralls
Copy link

coveralls commented Jun 27, 2017

Coverage Status

Coverage decreased (-0.08%) to 47.664% when pulling 780f52d on sboeuf/fix_kill into 157d907 on master.

@sboeuf sboeuf merged commit 4ffb2c4 into master Jun 27, 2017
@sboeuf sboeuf deleted the sboeuf/fix_kill branch June 27, 2017 14:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants