mirror of
https://github.com/containers/podman.git
synced 2025-10-18 19:53:58 +08:00
test: fix option name
the option is --quiet, not --q Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -538,7 +538,7 @@ func (p *PodmanTestIntegration) RunHealthCheck(cid string) error {
|
||||
return nil
|
||||
}
|
||||
// Restart container if it's not running
|
||||
ps := p.Podman([]string{"ps", "--no-trunc", "--q", "--filter", fmt.Sprintf("id=%s", cid)})
|
||||
ps := p.Podman([]string{"ps", "--no-trunc", "--quiet", "--filter", fmt.Sprintf("id=%s", cid)})
|
||||
ps.WaitWithDefaultTimeout()
|
||||
if ps.ExitCode() == 0 {
|
||||
if !strings.Contains(ps.OutputToString(), cid) {
|
||||
|
Reference in New Issue
Block a user