Skip to content

Commit

Permalink
fix incorrect word
Browse files Browse the repository at this point in the history
  • Loading branch information
peachisai committed Oct 29, 2023
1 parent 4806b9c commit fb318b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void beforeMethod(EnhancedInstance objInst, Method method, Object[] allAr

@Override
public Object afterMethod(EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes, Object ret) throws Throwable {
// If the removed handler is a SkyWalking enhanced handler, we continue removing the next which is the orignal handler before the instrumentation.
// If the removed handler is a SkyWalking enhanced handler, we continue removing the next which is the original handler before the instrumentation.
if (((ChannelHandler) ret).getClass().getName().startsWith(NettyConstants.HANDLER_PACKAGE_NAME)) {
return ((ChannelPipeline) objInst).removeLast();
}
Expand Down

0 comments on commit fb318b4

Please sign in to comment.