diff options
author | Hironori Shiina <shiina.hironori@jp.fujitsu.com> | 2022-06-08 17:40:44 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2022-06-14 16:12:10 -0400 |
commit | 8ed9aaba6dbf7190990ce7ba1b190ea9e96f48e4 (patch) | |
tree | ed04e3618647a56d9d828680281376d7487b6194 /pkg/domain/infra | |
parent | f15819f25e880ec3d9d1d38d724d77450f8d23ec (diff) | |
download | podman-8ed9aaba6dbf7190990ce7ba1b190ea9e96f48e4.tar.gz podman-8ed9aaba6dbf7190990ce7ba1b190ea9e96f48e4.tar.bz2 podman-8ed9aaba6dbf7190990ce7ba1b190ea9e96f48e4.zip |
Pass '--file-locks' to OCI runtime at restoring
`podman container restore --file-locks` does not restore file locks
because this option is not passed to OCI runtime. This patch fixes this
issue.
Signed-off-by: Hironori Shiina <shiina.hironori@jp.fujitsu.com>
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r-- | pkg/domain/infra/abi/containers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go index 0bca103e5..a8bfccb65 100644 --- a/pkg/domain/infra/abi/containers.go +++ b/pkg/domain/infra/abi/containers.go @@ -610,6 +610,7 @@ func (ic *ContainerEngine) ContainerRestore(ctx context.Context, namesOrIds []st ImportPrevious: options.ImportPrevious, Pod: options.Pod, PrintStats: options.PrintStats, + FileLocks: options.FileLocks, } filterFuncs := []libpod.ContainerFilter{ |