Merge pull request #3390 from Ace-Tang/update-go-runc
vendor: bump go-runc
This commit is contained in:
commit
c1c710ae16
@ -1,4 +1,4 @@
|
|||||||
github.com/containerd/go-runc 5a6d9f37cfa36b15efba46dc7ea349fa9b7143c3
|
github.com/containerd/go-runc 9007c2405372fe28918845901a3276c0915689a1
|
||||||
github.com/containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f
|
github.com/containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f
|
||||||
github.com/containerd/cgroups 51b62d303d381950f7b51cf8ff52f1e9e49cc4f1
|
github.com/containerd/cgroups 51b62d303d381950f7b51cf8ff52f1e9e49cc4f1
|
||||||
github.com/containerd/typeurl a93fcdb778cd272c6e9b3028b2f42d813e785d40
|
github.com/containerd/typeurl a93fcdb778cd272c6e9b3028b2f42d813e785d40
|
||||||
|
13
vendor/github.com/containerd/go-runc/README.md
generated
vendored
13
vendor/github.com/containerd/go-runc/README.md
generated
vendored
@ -1,7 +1,7 @@
|
|||||||
# go-runc
|
# go-runc
|
||||||
|
|
||||||
[](https://travis-ci.org/containerd/go-runc)
|
[](https://travis-ci.org/containerd/go-runc)
|
||||||
|
[](https://codecov.io/gh/containerd/go-runc)
|
||||||
|
|
||||||
This is a package for consuming the [runc](https://github.com/opencontainers/runc) binary in your Go applications.
|
This is a package for consuming the [runc](https://github.com/opencontainers/runc) binary in your Go applications.
|
||||||
It tries to expose all the settings and features of the runc CLI. If there is something missing then add it, its opensource!
|
It tries to expose all the settings and features of the runc CLI. If there is something missing then add it, its opensource!
|
||||||
@ -12,3 +12,14 @@ or greater.
|
|||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
Docs can be found at [godoc.org](https://godoc.org/github.com/containerd/go-runc).
|
Docs can be found at [godoc.org](https://godoc.org/github.com/containerd/go-runc).
|
||||||
|
|
||||||
|
## Project details
|
||||||
|
|
||||||
|
The go-runc is a containerd sub-project, licensed under the [Apache 2.0 license](./LICENSE).
|
||||||
|
As a containerd sub-project, you will find the:
|
||||||
|
|
||||||
|
* [Project governance](https://github.com/containerd/project/blob/master/GOVERNANCE.md),
|
||||||
|
* [Maintainers](https://github.com/containerd/project/blob/master/MAINTAINERS),
|
||||||
|
* and [Contributing guidelines](https://github.com/containerd/project/blob/master/CONTRIBUTING.md)
|
||||||
|
|
||||||
|
information in our [`containerd/project`](https://github.com/containerd/project) repository.
|
||||||
|
12
vendor/github.com/containerd/go-runc/runc.go
generated
vendored
12
vendor/github.com/containerd/go-runc/runc.go
generated
vendored
@ -275,7 +275,11 @@ func (r *Runc) Run(context context.Context, id, bundle string, opts *CreateOpts)
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return -1, err
|
return -1, err
|
||||||
}
|
}
|
||||||
return Monitor.Wait(cmd, ec)
|
status, err := Monitor.Wait(cmd, ec)
|
||||||
|
if err == nil && status != 0 {
|
||||||
|
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
|
||||||
|
}
|
||||||
|
return status, err
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteOpts struct {
|
type DeleteOpts struct {
|
||||||
@ -570,7 +574,11 @@ func (r *Runc) Restore(context context.Context, id, bundle string, opts *Restore
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Monitor.Wait(cmd, ec)
|
status, err := Monitor.Wait(cmd, ec)
|
||||||
|
if err == nil && status != 0 {
|
||||||
|
err = fmt.Errorf("%s did not terminate sucessfully", cmd.Args[0])
|
||||||
|
}
|
||||||
|
return status, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update updates the current container with the provided resource spec
|
// Update updates the current container with the provided resource spec
|
||||||
|
Loading…
Reference in New Issue
Block a user