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

switch from juju/errors to pkg/errors #1210

Merged
merged 4 commits into from
Aug 24, 2018
Merged

Conversation

gregwebs
Copy link
Contributor

What have you changed? (required)

switch from juju/errors to pkg/errors. pkg/errors maintains a stack trace and its not slower.
This was requested on the PR #1200

See these PRs:

What are the type of the changes (required)?

  • Improvement (non-breaking change which is an improvement to an existing feature)

Its quite possible that error messages given to clients will show up a little bit differently now. Its possible, but unlikely this would break a client since a string match will likely still work.

How has this PR been tested (required)?

make && make check && make test

Copy link
Contributor

@nolouch nolouch 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
Member

@rleungx rleungx left a comment

Choose a reason for hiding this comment

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

LGTM.

@gregwebs gregwebs merged commit 47a950e into master Aug 24, 2018
@gregwebs gregwebs deleted the switch-errors-juju-to-pkg branch August 24, 2018 19:47
nolouch pushed a commit that referenced this pull request Aug 28, 2018
* switch from juju/errors to pkg/errors

pkg/errors maintains a stack trace and its not slower

* Gopkg changes for juju/errors -> pkg/errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants