Merge pull request #2520 from thaJeztah/bump_runtime_spec

vendor: update runtime-spec v1.0.3-0.20200728170252-4d89ac9fbff6
This commit is contained in:
Akihiro Suda
2020-08-04 14:05:33 +09:00
committed by GitHub
11 changed files with 43 additions and 30 deletions
+1 -1
View File
@@ -1911,7 +1911,7 @@ func (c *linuxContainer) currentOCIState() (*specs.State, error) {
if err != nil {
return nil, err
}
state.Status = status.String()
state.Status = specs.ContainerState(status.String())
if status != Stopped {
if c.initProcess != nil {
state.Pid = c.initProcess.pid()