summaryrefslogtreecommitdiff
path: root/cmd/podmanV2/pods/ps.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-06 22:04:16 +0200
committerGitHub <noreply@github.com>2020-04-06 22:04:16 +0200
commit843fa25890199c04b8419833d39bdedf4ead391c (patch)
tree42d2d5b7b9c457935c963de6aa601433f1fd734e /cmd/podmanV2/pods/ps.go
parent7d95e0c47ad7203c6ad3e5a0441a309e5368dc52 (diff)
parentb22254dc8bfdea5153761e93298182286f874bac (diff)
downloadpodman-843fa25890199c04b8419833d39bdedf4ead391c.tar.gz
podman-843fa25890199c04b8419833d39bdedf4ead391c.tar.bz2
podman-843fa25890199c04b8419833d39bdedf4ead391c.zip
Merge pull request #5716 from baude/v2ps
podmanv2 ps
Diffstat (limited to 'cmd/podmanV2/pods/ps.go')
-rw-r--r--cmd/podmanV2/pods/ps.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podmanV2/pods/ps.go b/cmd/podmanV2/pods/ps.go
index 9546dff9e..9875263ac 100644
--- a/cmd/podmanV2/pods/ps.go
+++ b/cmd/podmanV2/pods/ps.go
@@ -88,7 +88,7 @@ func pods(cmd *cobra.Command, args []string) error {
fmt.Println(string(b))
return nil
}
- headers, row := createPodPsOut(cmd)
+ headers, row := createPodPsOut()
if psInput.Quiet {
if noTrunc {
row = "{{.Id}}\n"
@@ -123,7 +123,7 @@ func pods(cmd *cobra.Command, args []string) error {
return nil
}
-func createPodPsOut(cmd *cobra.Command) (string, string) {
+func createPodPsOut() (string, string) {
var row string
headers := defaultHeaders
if noTrunc {