automation-tests/cmd/podman/generate
Paul Holzinger 34de0feda5
cmd/podman: refactor Context handling
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>
2025-02-12 14:01:10 +01:00
..
generate.go Remove containers/common/pkg/config from pkg/util 2024-09-06 07:45:04 -04:00
spec.go cmd/podman: refactor Context handling 2025-02-12 14:01:10 +01:00
systemd.go cmd/podman: refactor Context handling 2025-02-12 14:01:10 +01:00