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

NOISSUE-Update invalid secret error handling #1856

Merged
merged 5 commits into from
Jul 12, 2023

Conversation

ianmuchyri
Copy link
Contributor

What does this do?

Updates error handling to handle invalid secret

Which issue(s) does this PR fix/relate to?

Put here Resolves #XXX to auto-close the issue that your PR fixes (if such)
No issue

List any changes that modify/break current functionality

None

Have you included tests for your changes?

No

Did you document any new/modified functionality?

No

Notes

@ianmuchyri ianmuchyri requested a review from a team as a code owner July 11, 2023 10:33
users/clients/service.go Outdated Show resolved Hide resolved
pkg/errors/types.go Outdated Show resolved Hide resolved
@ianmuchyri ianmuchyri force-pushed the NOISSUE-UpdateSecretErrorHandling branch from f972baa to ba21556 Compare July 12, 2023 09:14
dborovcanin
dborovcanin previously approved these changes Jul 12, 2023
pkg/errors/types.go Outdated Show resolved Hide resolved
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
@dborovcanin dborovcanin force-pushed the NOISSUE-UpdateSecretErrorHandling branch from ba21556 to d243075 Compare July 12, 2023 11:20
Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

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

Looks good, just a cosmetic fix of comment needed

pkg/errors/types.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #1856 (b57038e) into master (1192325) will increase coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1856      +/-   ##
==========================================
+ Coverage   64.12%   64.14%   +0.02%     
==========================================
  Files         118      118              
  Lines        9642     9642              
==========================================
+ Hits         6183     6185       +2     
+ Misses       2801     2800       -1     
+ Partials      658      657       -1     
Impacted Files Coverage Δ
users/clients/service.go 62.54% <0.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
pkg/errors/types.go Outdated Show resolved Hide resolved
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Copy link
Member

@rodneyosodo rodneyosodo 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
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

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

LGTM

@drasko drasko merged commit 031e0a6 into absmach:master Jul 12, 2023
2 of 3 checks passed
SammyOina pushed a commit to SammyOina/mainflux that referenced this pull request Jul 13, 2023
* update invalid secret error handling

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* update secret error naming

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* update secretError naming

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* fix comment

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

* add empty space in comment

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>

---------

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
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.

4 participants