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

*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" #8136

Merged
merged 2 commits into from
Nov 1, 2018

Conversation

tiancaiamao
Copy link
Contributor

What problem does this PR solve?

We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.

What is changed and how it works?

Rename "github.com/pkg/errors" to "github.com/pingcap/errors", no magic.

Ref #7922

Check List

Tests

  • No code

@lysu @lamxTyler

We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
@tiancaiamao
Copy link
Contributor Author

/run-all-tests

@lysu
Copy link
Contributor

lysu commented Nov 1, 2018

/run-all-tests

Copy link
Contributor

@lysu lysu 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
Contributor

@alivxxx alivxxx left a comment

Choose a reason for hiding this comment

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

LGTM

@alivxxx alivxxx added the status/LGT2 Indicates that a PR has LGTM 2. label Nov 1, 2018
@tiancaiamao tiancaiamao merged commit 32b1dbd into pingcap:master Nov 1, 2018
@tiancaiamao tiancaiamao deleted the rename-errors branch November 1, 2018 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tools status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants