-
Notifications
You must be signed in to change notification settings - Fork 484
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(snap): make secretstore connect hook idempotent #3815
fix(snap): make secretstore connect hook idempotent #3815
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3815 +/- ##
=======================================
Coverage 45.77% 45.77%
=======================================
Files 112 112
Lines 9640 9640
=======================================
Hits 4413 4413
Misses 4844 4844
Partials 383 383 Continue to review full report at Codecov.
|
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.
Can you please add a "Fixes: #3814" to the body of your commit message?
32e516a
to
4930e0c
Compare
Fixes edgexfoundry#3814 Signed-off-by: Farshid Tavakolizadeh <[email protected]>
4930e0c
to
99d04a8
Compare
Done. I amended the commit message. |
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.
LGTM
Testing:
- Followed your test instructions successfully
- Ran TAF tests: OK: 17 FAIL/585 PASS, which is the current benchmark
Code:
- looks fine. I like using "--stderr" with logger to get the output to stderr as well
Kudos, SonarCloud Quality Gate passed! |
Requested change has been implemented by Farshid
Fixes #3814 by copying the tokens instead of moving them away from the origin.
In addition, it improves logging:
Signed-off-by: Farshid Tavakolizadeh [email protected]
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
See #3814 to check how it used to work.
Using a locally-build edgexfoundry, so the plug doesn't connect automatically.
Test error handling:
Look at the journals:
New Dependency Instructions (If applicable)