diff options
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/top.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/top.go b/cmd/podman/top.go index 6aff25a71..5ff3b6643 100644 --- a/cmd/podman/top.go +++ b/cmd/podman/top.go @@ -70,11 +70,11 @@ func topCmd(c *cli.Context) error { psArgs = append(psArgs, psOpts...) - results, err := container.GetContainerPidInformation(psArgs) + psOutput, err := container.GetContainerPidInformation(psArgs) if err != nil { return err } - for _, line := range results { + for _, line := range psOutput { fmt.Println(line) } return nil |