mirror of
https://github.com/containers/podman.git
synced 2025-08-24 01:50:58 +08:00

The PodmanOptionsKey is never used anywhere so it is pointless to add this. Second having several functions to return the same context makes no sense so fold them all into one. Lastly create the context once and always return the same one instead of having to nil check each time. Signed-off-by: Paul Holzinger <pholzing@redhat.com> (cherry picked from commit 34de0feda5e589b398174d68a0bc2a1d9ecf4e78) Signed-off-by: Paul Holzinger <pholzing@redhat.com>