Skip to content

Commit

Permalink
Fix incorrect args for grpc.insecure_channel()
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Melin <arthur.melin@wiseone.io>
  • Loading branch information
ArthurMelin committed Jul 17, 2023
1 parent 730ed8d commit ccd9fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qdrant_client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def metadata_callback(context: Any, callback: Any) -> None:
else:
if metadata:
metadata_interceptor = header_adder_interceptor(metadata)
channel = grpc.insecure_channel(f"{host}:{port}", metadata, options)
channel = grpc.insecure_channel(f"{host}:{port}", options)
return grpc.intercept_channel(channel, metadata_interceptor)
else:
return grpc.insecure_channel(f"{host}:{port}", options)
Expand Down

0 comments on commit ccd9fff

Please sign in to comment.