diff options
author | Sascha Grunert <sgrunert@suse.com> | 2019-07-25 12:45:08 +0200 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2019-07-25 12:45:08 +0200 |
commit | 7630f1b52efbefec463223e7631bee2ca007ce14 (patch) | |
tree | 35d58b1c8f4f08684526f2d2bedb73f569bfecb9 /cmd/podman/start.go | |
parent | 7c9095ea1de363f8d76ae246575062755ac9398e (diff) | |
download | podman-7630f1b52efbefec463223e7631bee2ca007ce14.tar.gz podman-7630f1b52efbefec463223e7631bee2ca007ce14.tar.bz2 podman-7630f1b52efbefec463223e7631bee2ca007ce14.zip |
Fix possible runtime panic if image history len is zero
We now return an empty string for the `Comment` field if an OCI v1 image
contains no history.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'cmd/podman/start.go')
0 files changed, 0 insertions, 0 deletions