diff --git a/cli/ps.go b/cli/ps.go index fff957ccd7..8eb837c86a 100644 --- a/cli/ps.go +++ b/cli/ps.go @@ -92,7 +92,7 @@ func ps(ctx context.Context, containerID, format string, args []string) error { options.Format = format - msg, err := vci.ProcessListContainer(ctx, containerID, sandboxID, options) + msg, err := vci.ProcessListContainer(ctx, sandboxID, containerID, options) if err != nil { return err }