Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Module: fix parameter order error in cli/ps.go
Browse files Browse the repository at this point in the history
Fixes: #1017
reason: when calls vci.ProcessListContainer, fix wrong parameter order

Signed-off-by: x00464843 <xueshaojia@huawei.com>
  • Loading branch information
x00464843 committed Dec 14, 2018
1 parent 21f0059 commit 08f1c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/ps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 08f1c05

Please # to comment.