Merge pull request #6496 from thaJeztah/deprecate_criu_opt

runtime: deprecate runc --criu / -criu-path option
This commit is contained in:
Phil Estes
2022-03-23 11:17:58 -04:00
committed by GitHub
14 changed files with 129 additions and 104 deletions

View File

@@ -79,7 +79,7 @@ type Init struct {
}
// NewRunc returns a new runc instance for a process
func NewRunc(root, path, namespace, runtime, criu string, systemd bool) *runc.Runc {
func NewRunc(root, path, namespace, runtime string, systemd bool) *runc.Runc {
if root == "" {
root = RuncRoot
}
@@ -89,7 +89,6 @@ func NewRunc(root, path, namespace, runtime, criu string, systemd bool) *runc.Ru
LogFormat: runc.JSON,
PdeathSignal: unix.SIGKILL,
Root: filepath.Join(root, namespace),
Criu: criu,
SystemdCgroup: systemd,
}
}