Skip to content

LoadImageCmdExec ignores errors #2250

Closed
@gonzojive

Description

@gonzojive

https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageLoad says the image load HTTP post used by DockerClient can fail by returning a 500 status. LoadImageCmdExec does not inspect the HTTP response code, so errors are ignored.

webResource.request().postStream(command.getImageStream());

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions