Skip to content

Commit b85107a

Browse files
author
OlegZv
committed
Adjust comment and fix one test
1 parent 2b0b4f1 commit b85107a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

instrumentation/opentelemetry-instrumentation-redis/src/opentelemetry/instrumentation/redis/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ def uninstrument_connection(client):
624624
if getattr(client, INSTRUMENTATION_ATTR):
625625
# for all clients we need to unwrap execute_command and pipeline functions
626626
unwrap(client, "execute_command")
627-
# pipeline was creating a pipeline and wrapping the functions of the
628-
# created instance. any pipeline created before un-instrumenting will
627+
# the method was creating a pipeline and wrapping the functions of the
628+
# created instance. any pipelines created before un-instrumenting will
629629
# remain instrumented (pipelines should usually have a short span)
630630
unwrap(client, "pipeline")
631631
pass

instrumentation/opentelemetry-instrumentation-redis/tests/test_redis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
class TestRedis(TestBase):
3838
def setUp(self):
3939
super().setUp()
40-
RedisInstrumentor().instrument(_provider=self.tracer_provider)
40+
RedisInstrumentor().instrument(tracer_provider=self.tracer_provider)
4141

4242
def tearDown(self):
4343
super().tearDown()

0 commit comments

Comments
 (0)