mirror of
https://github.com/apple/container.git
synced 2026-09-25 17:15:38 +00:00
KeychainHelper: Simplify lookup (#214)
This commit is contained in:
@@ -30,9 +30,6 @@ public struct KeychainHelper: Sendable {
|
||||
let kq = KeychainQuery()
|
||||
|
||||
do {
|
||||
guard try kq.exists(id: self.id, host: domain) else {
|
||||
throw Self.Error.keyNotFound
|
||||
}
|
||||
guard let fetched = try kq.get(id: self.id, host: domain) else {
|
||||
throw Self.Error.keyNotFound
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user