-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix(error): invalid return on IsOtpError
#371
Conversation
IsOtpError
9463ebc
to
bee4847
Compare
bee4847
to
ca7fe36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: thanks for taking over this issue 🙏
question: did you tested it in the CLI to ensure it fixes the issue?
http/errors.go
Outdated
@@ -9,6 +9,7 @@ import ( | |||
"gopkg.in/errgo.v1" | |||
|
|||
"github.com/Scalingo/go-scalingo/v6/debug" | |||
scErrors "github.com/Scalingo/go-utils/errors/v2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: in order to match Scalingo convention
scErrors "github.com/Scalingo/go-utils/errors/v2" | |
errorspkg "github.com/Scalingo/go-utils/errors/v2" |
ca7fe36
to
cbf5e99
Compare
cbf5e99
to
94a6965
Compare
@EtienneM Yes I've tested with the CLI, it solves the related issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Fix Scalingo/cli#1029