Repository navigation
refactor(platform): use pkg/utils/errors instead of the standard errors package - #2147
Conversation
|
Hey @entrepreneurme 👋 thanks for the PR! This comment updates automatically as you push changes -- think of it as your PR's live scoreboard! PR Checks✅ DCO Sign-off -- All commits have valid sign-offs. Nice work! ❌ GPG Signature -- Heads up! The following commits don't have a verified GPG signature:
You'll need to sign your commits with GPG (e.g. ✅ Merge Conflicts -- No merge conflicts detected. Smooth sailing! ✅ Issue Link -- Linked to #2136 (assigned to you). ⏳ All checks must pass before this PR can be reviewed. You've got this! |
The platform packages that only needed Join, Is, or As now follow the project error convention. As stays on the standard library under the stderrors alias. Fixes hyperledger-labs#2136 Signed-off-by: Ujjwal Khandelwal <ujjwal.khandelwal@yahoo.com>
f3ff4fb to
49e8e0f
Compare
mbrandenburger
left a comment
There was a problem hiding this comment.
Thank you @entrepreneurme for your help.
…rs package (hyperledger-labs#2147) The platform packages that only needed Join or Is now pkg/utils/errors; As stays on the standard library under the stderrors alias. Fixes hyperledger-labs#2136 Signed-off-by: Ujjwal Khandelwal <ujjwal.khandelwal@yahoo.com>
Summary
errorspackage. The ones that only needJoinorIsnow usepkg/utils/errors.errors.Asstays on the standard library. Those two imports are renamed fromerrors2tostderrors.git grepfinds no remaining standarderrorsimport in non-test platform files outsidevfsdk.Fixes #2136
Test plan
go vet ./platform/... ./pkg/...go testfor common utils, view sdk dig, storage drivers, and the fabric sqlite and common SQL packagesMade with Cursor