Skip to content

osxkeychain: Delete(): return typed errors#278

Merged
thaJeztah merged 3 commits intodocker:masterfrom
thaJeztah:osxkeychain_typed_error
May 27, 2023
Merged

osxkeychain: Delete(): return typed errors#278
thaJeztah merged 3 commits intodocker:masterfrom
thaJeztah:osxkeychain_typed_error

Conversation

@thaJeztah
Copy link
Copy Markdown
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
Copy Markdown

codecov-commenter commented May 27, 2023

Codecov Report

❌ Patch coverage is 36.84211% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
osxkeychain/osxkeychain_darwin.go 36.84% 12 Missing ⚠️

📢 Thoughts on this report? Let us know!

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

@crazy-max ptal 🤗

Comment thread osxkeychain/osxkeychain_darwin.go Outdated
@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
Copy Markdown
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