Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace error strings in client API with variants #470

Merged
merged 2 commits into from
Feb 3, 2017

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Feb 2, 2017

This means that e.g. instead of matching with:

Error (`Msg "Already exists")

you now match instead with:

Error `Already_exists

Avoids typos and will allow us to provide other transports in future.

Signed-off-by: Thomas Leonard [email protected]

@talex5 talex5 force-pushed the client-errors branch 3 times, most recently from 706137d to c1faca0 Compare February 3, 2017 14:42
This means that e.g. instead of matching with:

    Error (`Msg "Already exists")

you now match instead with:

    Error `Already_exists

Signed-off-by: Thomas Leonard <[email protected]>
@talex5 talex5 removed the Tracking label Feb 3, 2017
@talex5 talex5 merged commit 1b39b09 into moby:master Feb 3, 2017
@talex5 talex5 deleted the client-errors branch February 3, 2017 15:35
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.

1 participant