We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dda335 commit 4471a13Copy full SHA for 4471a13
1 file changed
Plugins/EtcdDriverPlugin/EtcdHttpClient.swift
@@ -944,10 +944,8 @@ final class EtcdHttpClient: @unchecked Sendable {
944
return
945
}
946
947
- guard let identity = identityRef as? SecIdentity else {
948
- completionHandler(.cancelAuthenticationChallenge, nil)
949
- return
950
- }
+ // swiftlint:disable:next force_cast
+ let identity = identityRef as! SecIdentity
951
let credential = URLCredential(
952
identity: identity,
953
certificates: nil,
0 commit comments