mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
podman: --runtime has higher priority on runtime_path
if --runtime is specified, then it has higher priority on the runtime_path option, which was added for backward compatibility. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
8039ccf4d5
commit
56714d14fd
|
@ -149,6 +149,7 @@ func WithOCIRuntime(runtime string) RuntimeOption {
|
|||
}
|
||||
|
||||
rt.config.OCIRuntime = runtime
|
||||
rt.config.RuntimePath = nil
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue