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

osxkeychain: Delete(): return typed errors #278

Merged
merged 3 commits into from
May 27, 2023

Conversation

thaJeztah
Copy link
Member

This allows a Delete for non-existing credentials to be handled.

@thaJeztah thaJeztah force-pushed the osxkeychain_typed_error branch from fd8cd57 to 71ceaf8 Compare May 27, 2023 14:14
@codecov-commenter
Copy link

codecov-commenter commented May 27, 2023

Codecov Report

Patch coverage: 36.84% and project coverage change: -0.32 ⚠️

Comparison is base (9ff5b61) 55.55% compared to head (b21b69c) 55.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
- Coverage   55.55%   55.23%   -0.32%     
==========================================
  Files           9        9              
  Lines         666      668       +2     
==========================================
- Hits          370      369       -1     
- Misses        253      256       +3     
  Partials       43       43              
Impacted Files Coverage Δ
osxkeychain/osxkeychain_darwin.go 69.10% <36.84%> (-1.97%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@thaJeztah thaJeztah marked this pull request as ready for review May 27, 2023 14:17
@thaJeztah
Copy link
Member Author

@crazy-max ptal 🤗

@thaJeztah thaJeztah force-pushed the osxkeychain_typed_error branch from 71ceaf8 to 0a405fb Compare May 27, 2023 14:52
thaJeztah added 3 commits May 27, 2023 16:54
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Makes the error-handling slightly cleaner.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
This allows a Delete for non-existing credentials to be handled.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the osxkeychain_typed_error branch from 0a405fb to b21b69c Compare May 27, 2023 14:54
@thaJeztah
Copy link
Member Author

@crazy-max updated; PTAL

@thaJeztah thaJeztah merged commit f09e79d into docker:master May 27, 2023
@thaJeztah thaJeztah deleted the osxkeychain_typed_error branch May 27, 2023 15:13
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.

3 participants