diff --git a/cli/ps.go b/cli/ps.go index 190a72d9d7..dd2f3c8ca3 100644 --- a/cli/ps.go +++ b/cli/ps.go @@ -95,7 +95,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 }