Conversation
21c4a97 to
ff9069e
Compare
774f2c8 to
c3da281
Compare
lbajolet-hashicorp
left a comment
There was a problem hiding this comment.
Overall this looks good to me!
I left a few comments on some parts of the code, mostly the one thing that I think is superfluous is replacing %s by %v for error interpolation in strings, they're essentially the same thing from what I understand, so this may be dropped from this PR, unless there's a compelling reason to keep them.
Besides those, LGTM! Pre-approving so it's not a blocker later.
|
Sure, I'll revert thr #v to #s. |
04aaa64 to
cc75026
Compare
- Update errors that don't require formatting to use `errors.New` instead of `fmt.Errorf` to be more idiomatic. - Updates UI errors that need formatting to `ui.Errorf` instead of `ui.Error(fmt.Sprintf(` - Correct spelling mistakes in docs/comments. Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
cc75026 to
ce1d2d5
Compare
|
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Summary
errors.Newinstead offmt.Errorfto be more idiomatic.ui.Errorfinstead ofui.Error(fmt.Sprintf(Testing