mirror of
https://github.com/containers/podman.git
synced 2025-10-19 04:03:23 +08:00

- fix issues found by recvcheck - skip k8s files from recvcheck - remove two removed linters gomnd and execinquery Signed-off-by: Paul Holzinger <pholzing@redhat.com>
19 lines
322 B
Go
19 lines
322 B
Go
package e2e_test
|
|
|
|
type basicMachine struct {
|
|
args []string
|
|
}
|
|
|
|
func (s *basicMachine) buildCmd(m *machineTestBuilder) []string {
|
|
cmd := []string{"-r"}
|
|
if len(s.args) > 0 {
|
|
cmd = append(cmd, s.args...)
|
|
}
|
|
return cmd
|
|
}
|
|
|
|
func (s *basicMachine) withPodmanCommand(args []string) *basicMachine {
|
|
s.args = args
|
|
return s
|
|
}
|