Rename config LiveRestore to LiveRestoreEnabled
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Upstream-commit: b94542239313bbf960e6718c6b54bbbcbacdfffa Component: engine
This commit is contained in:
@ -72,7 +72,7 @@ func (cli *DaemonCli) getPlatformRemoteOptions() []libcontainerd.RemoteOption {
|
||||
args := []string{"--systemd-cgroup=true"}
|
||||
opts = append(opts, libcontainerd.WithRuntimeArgs(args))
|
||||
}
|
||||
if cli.Config.LiveRestore {
|
||||
if cli.Config.LiveRestoreEnabled {
|
||||
opts = append(opts, libcontainerd.WithLiveRestore(true))
|
||||
}
|
||||
opts = append(opts, libcontainerd.WithRuntimePath(daemon.DefaultRuntimeBinary))
|
||||
|
||||
Reference in New Issue
Block a user