summaryrefslogtreecommitdiff
path: root/libpod/boltdb_state_linux.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-03-24 11:59:50 +0100
committerPaul Holzinger <pholzing@redhat.com>2022-03-24 12:06:48 +0100
commit7ae52e86ffbd3851769f02db503332c9c8e84e4e (patch)
tree02d7c930f122d38669c35b7eed006c2d6b9fd9a2 /libpod/boltdb_state_linux.go
parent80123ca505081fca513fc0865cf6e2daf43ff854 (diff)
downloadpodman-7ae52e86ffbd3851769f02db503332c9c8e84e4e.tar.gz
podman-7ae52e86ffbd3851769f02db503332c9c8e84e4e.tar.bz2
podman-7ae52e86ffbd3851769f02db503332c9c8e84e4e.zip
readConmonPipeData: try to improve error
Issue #10927 reports `container create failed (no logs from conmon): EOF` errors. Since we do not know the root cause it would be helpful to try to get as much info as possible out of the error. (buffer).ReadBytes() will return the bytes read even when an error occurs. So when we get an EOF we could still have some valuable information in the buffer. Lets try to unmarshal them and if this fails we add the bytes to the error message. This does not fix the issue but it might help us getting a better error. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod/boltdb_state_linux.go')
0 files changed, 0 insertions, 0 deletions