Miloslav Trmač
25f9cea5c8
Close http.Response.Body
...
golangci-lint linter: bodyclose
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-02-06 21:15:45 +01:00
Miloslav Trmač
63a1360094
Implement private.ImageDestination in dockerImageDestination
...
For now, this does not change behavior; but it will allow
using BlobInfoCache2 next.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-07-02 01:24:23 +02:00
Miloslav Trmač
9ec2debeff
Simplify isManifestInvalidError invocation
...
Don't immediately unwrap an error we have just wrapped.
Should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2021-08-26 03:33:10 +02:00
Miloslav Trmač
2da3507e9b
Add a smoke test for isManifestInvalidError
...
We need at least a smoke test before refactoring the error
parser. Ideally we should have a full historical record.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2021-08-26 03:33:08 +02:00