summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-29 14:10:59 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-07-29 14:12:19 -0400
commit9917fc0f956c849ec2d52f3f873aa6eaa3f25e72 (patch)
tree4ca3031ca76b8664a29841e43b5e0271c14f933e /pkg
parent7f38774ee7758e56cf31e87c81ae0bc9208d0ede (diff)
downloadpodman-9917fc0f956c849ec2d52f3f873aa6eaa3f25e72.tar.gz
podman-9917fc0f956c849ec2d52f3f873aa6eaa3f25e72.tar.bz2
podman-9917fc0f956c849ec2d52f3f873aa6eaa3f25e72.zip
Don't crash when giving bogus format commands
Currently if you give a bogus flag to --format it will crash the formatter. With this change we will get a nice error. podman images --format '{{ bogus }}' Error: template: list:1: function "bogus" not defined versus /bin/podman.old images --format '{{ bogus }}' panic: template: list:1: function "bogus" not defined goroutine 1 [running]: Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions