summaryrefslogtreecommitdiff
path: root/pkg/varlinkapi/util.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2019-07-16 16:17:59 -0400
committerQi Wang <qiwan@redhat.com>2019-07-18 09:34:19 -0400
commitc244c347b1e326d57a456424f7821ccf4cdb1bde (patch)
tree1e9185f59c58697c3d2df8c0c9140d35a0f7149f /pkg/varlinkapi/util.go
parent1c02905ec7af9f63a35ee05e9e9ce594c45c4c58 (diff)
downloadpodman-c244c347b1e326d57a456424f7821ccf4cdb1bde.tar.gz
podman-c244c347b1e326d57a456424f7821ccf4cdb1bde.tar.bz2
podman-c244c347b1e326d57a456424f7821ccf4cdb1bde.zip
podman-remote make --size optional in ps
Close #3578 Add `size` field to PsOpts in podman remote to receive size as an option. Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/varlinkapi/util.go')
-rw-r--r--pkg/varlinkapi/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/varlinkapi/util.go b/pkg/varlinkapi/util.go
index e8f74e6aa..d3a41f7ab 100644
--- a/pkg/varlinkapi/util.go
+++ b/pkg/varlinkapi/util.go
@@ -191,7 +191,7 @@ func makePsOpts(inOpts iopodman.PsOpts) shared.PsOptions {
Latest: derefBool(inOpts.Latest),
NoTrunc: derefBool(inOpts.NoTrunc),
Pod: derefBool(inOpts.Pod),
- Size: true,
+ Size: derefBool(inOpts.Size),
Sort: derefString(inOpts.Sort),
Namespace: true,
Sync: derefBool(inOpts.Sync),