You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/08/11 16:27:07 UTC

[GitHub] [skywalking-python] Humbertzhang commented on a change in pull request #150: [plugin] pymongo compatible with mongodb cluster

Humbertzhang commented on a change in pull request #150:
URL: https://github.com/apache/skywalking-python/pull/150#discussion_r686990163



##########
File path: skywalking/plugins/sw_pymongo.py
##########
@@ -101,8 +101,8 @@ def inject_bulk_write(_Bulk, bulk_op_map):
     _execute = _Bulk.execute
 
     def _sw_execute(this: _Bulk, *args, **kwargs):
-        address = this.collection.database.client.address
-        peer = "%s:%s" % address
+        nodes = this.collection.database.client.nodes

Review comment:
       I looked at it and the answer is yes.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org