vendor: update go-runc

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Andrei Vagin 2018-04-24 20:19:17 +03:00
parent cddd791c1c
commit 0846d6f8e9
3 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,4 @@
github.com/containerd/go-runc bcb223a061a3dd7de1a89c0b402a60f4dd9bd307 github.com/containerd/go-runc f271fa2021de855d4d918dbef83c5fe19db1bdd5
github.com/containerd/console cb7008ab3d8359b78c5f464cb7cf160107ad5925 github.com/containerd/console cb7008ab3d8359b78c5f464cb7cf160107ad5925
github.com/containerd/cgroups fe281dd265766145e943a034aa41086474ea6130 github.com/containerd/cgroups fe281dd265766145e943a034aa41086474ea6130
github.com/containerd/typeurl f6943554a7e7e88b3c14aad190bf05932da84788 github.com/containerd/typeurl f6943554a7e7e88b3c14aad190bf05932da84788

View File

@ -43,7 +43,7 @@ func NewConsoleSocket(path string) (*Socket, error) {
return nil, err return nil, err
} }
return &Socket{ return &Socket{
l: l, l: l,
}, nil }, nil
} }

View File

@ -512,10 +512,11 @@ type RestoreOpts struct {
CheckpointOpts CheckpointOpts
IO IO
Detach bool Detach bool
PidFile string PidFile string
NoSubreaper bool NoSubreaper bool
NoPivot bool NoPivot bool
ConsoleSocket ConsoleSocket
} }
func (o *RestoreOpts) args() ([]string, error) { func (o *RestoreOpts) args() ([]string, error) {
@ -530,6 +531,9 @@ func (o *RestoreOpts) args() ([]string, error) {
} }
out = append(out, "--pid-file", abs) out = append(out, "--pid-file", abs)
} }
if o.ConsoleSocket != nil {
out = append(out, "--console-socket", o.ConsoleSocket.Path())
}
if o.NoPivot { if o.NoPivot {
out = append(out, "--no-pivot") out = append(out, "--no-pivot")
} }