diff options
author | Aditya Rajan <arajan@redhat.com> | 2021-11-24 15:51:07 +0530 |
---|---|---|
committer | Aditya Rajan <arajan@redhat.com> | 2021-11-24 15:51:12 +0530 |
commit | 84e81252f23a41cc120e85af56edd114403a9cd1 (patch) | |
tree | 8d47f8042df4748f143f7e523e162e0de0c7e3e9 /vendor/go.mozilla.org | |
parent | 4b014a3aecf9508ed83ae489e188721e6234ccd5 (diff) | |
download | podman-84e81252f23a41cc120e85af56edd114403a9cd1.tar.gz podman-84e81252f23a41cc120e85af56edd114403a9cd1.tar.bz2 podman-84e81252f23a41cc120e85af56edd114403a9cd1.zip |
compat: Add compatiblity with Docker/Moby API for scenarios where build fails
In order to maintain compatiblity with `moby API` we must the field
`errorDetail` which is primary error reporting field with stream.
Currently podman is using `error` which is already deprecated by moby.
Check: https://github.com/moby/moby/blob/master/pkg/jsonmessage/jsonmessage.go#L147
[NO NEW TESTS NEEDED]
We can't test this in podman CI since we dont have a docker client.
Signed-off-by: Aditya Rajan <arajan@redhat.com>
Diffstat (limited to 'vendor/go.mozilla.org')
0 files changed, 0 insertions, 0 deletions