Skip to content

Commit 6f87e49

Browse files
illidanzen163zengyang
and
zengyang
authored
fix: getBucketWithCodecAdvice (#531)
Co-authored-by: zengyang <[email protected]>
1 parent 88347cc commit 6f87e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arex-instrumentation/redis/arex-redission-v3/src/main/java/io/arex/inst/redisson/v3/RedissonInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static class GetBucketWithCodecAdvice {
8181
public static MethodInstrumentation getMethodInstrumentation() {
8282
ElementMatcher.Junction<MethodDescription> matcher =
8383
isMethod().and(isPublic()).and(named("getBucket")).and(takesArgument(0, String.class))
84-
.and(takesArgument(0, named("org.redisson.client.codec.Codec")));
84+
.and(takesArgument(1, named("org.redisson.client.codec.Codec")));
8585

8686
String advice = GetBucketWithCodecAdvice.class.getName();
8787

0 commit comments

Comments
 (0)