mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-01 17:52:40 +00:00
Module: fix parameter order error in cli/ps.go
Fixes: #1017 reason: when calls vci.ProcessListContainer, fix wrong parameter order Signed-off-by: x00464843 <xueshaojia@huawei.com>
This commit is contained in:
parent
21f0059487
commit
08f1c05144
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user