mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-26 19:23:36 +00:00
Merge pull request #1019 from shaojiaxue/master
cli: fix parameter order error in cli/ps.go
This commit is contained in:
@@ -95,7 +95,7 @@ func ps(ctx context.Context, containerID, format string, args []string) error {
|
|||||||
|
|
||||||
options.Format = format
|
options.Format = format
|
||||||
|
|
||||||
msg, err := vci.ProcessListContainer(ctx, containerID, sandboxID, options)
|
msg, err := vci.ProcessListContainer(ctx, sandboxID, containerID, options)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user