Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkul committed Aug 28, 2024
1 parent 4e1acbf commit 2e0cf01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions weaviate/connect/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ def _grpc_channel(self, proxies: Dict[str, str], enable_ssl_verification: bool)
cert = ssl.DER_cert_to_PEM_cert(cert_binary)

creds = ssl_channel_credentials(root_certificates=cert.encode())
# this assumes that the server cert has the correct hostname, which might not be the case
options.append(("grpc.ssl_target_name_override", targets[0]))

return grpc.aio.secure_channel(
target=self._grpc_target,
Expand Down

0 comments on commit 2e0cf01

Please sign in to comment.