diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-02-17 07:52:42 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-02-17 07:55:12 -0500 |
commit | e2d5a1d0512abed12e0844ab33fdbf023f206c7c (patch) | |
tree | e4504a9f342917919f0c00075cb0fa708dc63c41 /libpod/define/config.go | |
parent | 50042120e947fc7aee601f0c65ea485daf604ee1 (diff) | |
download | podman-e2d5a1d0512abed12e0844ab33fdbf023f206c7c.tar.gz podman-e2d5a1d0512abed12e0844ab33fdbf023f206c7c.tar.bz2 podman-e2d5a1d0512abed12e0844ab33fdbf023f206c7c.zip |
podman ps --format '{{ .Size }}' requires --size option
Podman -s crashes when the user specifies the '{{ .Size }}` format
on the podman ps command, without specifying the --size option.
This PR will stop the crash and print out a logrus.Error stating that
the caller should add the --size option.
Fixes: https://github.com/containers/podman/issues/9408
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/define/config.go')
0 files changed, 0 insertions, 0 deletions