mirror of https://github.com/containers/podman.git
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.OCIRuntime = runtime
|
||||||
|
rt.config.RuntimePath = nil
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue