Skip to content

Wrap response error for container logs method.#36000

Merged
thaJeztah merged 1 commit into
moby:masterfrom
emil2k:fix-container-log-err
Jan 13, 2018
Merged

Wrap response error for container logs method.#36000
thaJeztah merged 1 commit into
moby:masterfrom
emil2k:fix-container-log-err

Conversation

@emil2k
Copy link
Copy Markdown
Contributor

@emil2k emil2k commented Jan 12, 2018

- What I did / How I did it

I wrapped the response error for /containers/{id}/logs requests so that IsErrNotFound and IsErrNotImplemented could work as intended.

- How to verify it

Test added.

- Description for the changelog

Fixed error detection using IsErrNotFound and IsErrNotImplemented for the ContainerLogs method.

Copy link
Copy Markdown
Member

@dnephin dnephin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants