summaryrefslogtreecommitdiff
path: root/libpod/runtime_img.go
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2018-09-07 10:51:51 +1200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-09-07 21:31:32 +0000
commit2afadeec6696fefac468a49c8ba24b0bc275aa75 (patch)
tree7c9a317c12f4db0b057225342dcb5ec57269ea4c /libpod/runtime_img.go
parentc325a1842039eb7af1b6114c5f819ffe2d30bfe9 (diff)
downloadpodman-2afadeec6696fefac468a49c8ba24b0bc275aa75.tar.gz
podman-2afadeec6696fefac468a49c8ba24b0bc275aa75.tar.bz2
podman-2afadeec6696fefac468a49c8ba24b0bc275aa75.zip
Fix displaying size on size calculation error
With this change if an error is raised when fetching the size of the image, the error string will be printed as the size (instead of panicing). In this particular case, the error string is "unable to determine size". This fixes bug #1405 Signed-off-by: Steve Baker <sbaker@redhat.com> Closes: #1423 Approved by: mheon
Diffstat (limited to 'libpod/runtime_img.go')
0 files changed, 0 insertions, 0 deletions