Inline PodmanBase into callers

Eliminate this helper / indirection, and pass around
PodmanExecOptions explicitly.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač
2025-01-22 22:45:33 +01:00
parent f17590b2bd
commit d509bb0823
4 changed files with 31 additions and 19 deletions

View File

@@ -25,7 +25,7 @@ func IsRemote() bool {
// Podman is the exec call to podman on the filesystem
func (p *PodmanTestIntegration) Podman(args []string) *PodmanSessionIntegration {
args = p.makeOptions(args, PodmanExecOptions{})
podmanSession := p.PodmanBase(args, false, false)
podmanSession := p.PodmanExecBaseWithOptions(args, PodmanExecOptions{})
return &PodmanSessionIntegration{podmanSession}
}