vendor: update go-runc
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
2
vendor/github.com/containerd/go-runc/console.go
generated
vendored
2
vendor/github.com/containerd/go-runc/console.go
generated
vendored
@@ -43,7 +43,7 @@ func NewConsoleSocket(path string) (*Socket, error) {
|
||||
return nil, err
|
||||
}
|
||||
return &Socket{
|
||||
l: l,
|
||||
l: l,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
12
vendor/github.com/containerd/go-runc/runc.go
generated
vendored
12
vendor/github.com/containerd/go-runc/runc.go
generated
vendored
@@ -512,10 +512,11 @@ type RestoreOpts struct {
|
||||
CheckpointOpts
|
||||
IO
|
||||
|
||||
Detach bool
|
||||
PidFile string
|
||||
NoSubreaper bool
|
||||
NoPivot bool
|
||||
Detach bool
|
||||
PidFile string
|
||||
NoSubreaper bool
|
||||
NoPivot bool
|
||||
ConsoleSocket ConsoleSocket
|
||||
}
|
||||
|
||||
func (o *RestoreOpts) args() ([]string, error) {
|
||||
@@ -530,6 +531,9 @@ func (o *RestoreOpts) args() ([]string, error) {
|
||||
}
|
||||
out = append(out, "--pid-file", abs)
|
||||
}
|
||||
if o.ConsoleSocket != nil {
|
||||
out = append(out, "--console-socket", o.ConsoleSocket.Path())
|
||||
}
|
||||
if o.NoPivot {
|
||||
out = append(out, "--no-pivot")
|
||||
}
|
||||
|
Reference in New Issue
Block a user