Skip to content

Commit

Permalink
add target in case there is no host in target
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaygupta2790 committed Feb 28, 2025
1 parent 205ff4b commit addb2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elasticapm/instrumentation/packages/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def call(self, module, method, wrapped, instance, args, kwargs):
except ValueError:
port = None
else:
host, port = None, None
host, port = target, None
return grpc.intercept_channel(result, _ClientInterceptor(host, port, secure=method == "secure_channel"))


Expand Down

0 comments on commit addb2f5

Please sign in to comment.