diff options
author | Hironori Shiina <shiina.hironori@jp.fujitsu.com> | 2022-06-08 17:40:44 -0400 |
---|---|---|
committer | Hironori Shiina <shiina.hironori@jp.fujitsu.com> | 2022-06-09 09:49:53 -0400 |
commit | eed0e66710c02b9f3e40505cc6be65ef66de9c0e (patch) | |
tree | be45325b191bf41c7122ef769bed0df64a8a1a78 /pkg/domain/infra/abi | |
parent | b4c981893de2e2c5b0b6163961d6699098f5c1ae (diff) | |
download | podman-eed0e66710c02b9f3e40505cc6be65ef66de9c0e.tar.gz podman-eed0e66710c02b9f3e40505cc6be65ef66de9c0e.tar.bz2 podman-eed0e66710c02b9f3e40505cc6be65ef66de9c0e.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/abi')
-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 d2fafccb1..8bd84a310 100644 --- a/pkg/domain/infra/abi/containers.go +++ b/pkg/domain/infra/abi/containers.go @@ -616,6 +616,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{ |