Skip to content

Commit 01c0bae

Browse files
committed
add target in case there is no host in target
1 parent bf7f26f commit 01c0bae

File tree

1 file changed

+1
-1
lines changed
  • elasticapm/instrumentation/packages

1 file changed

+1
-1
lines changed

elasticapm/instrumentation/packages/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def call(self, module, method, wrapped, instance, args, kwargs):
5454
except ValueError:
5555
port = None
5656
else:
57-
host, port = target, None
57+
host, port = target, None
5858
return grpc.intercept_channel(result, _ClientInterceptor(host, port, secure=method == "secure_channel"))
5959

6060

0 commit comments

Comments
 (0)