jonyangx commented on code in PR #2840:
URL: 
https://github.com/apache/incubator-eventmesh/pull/2840#discussion_r1063940831


##########
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/LocalUnSubscribeEventProcessor.java:
##########
@@ -75,11 +75,11 @@ public void handler(final HandlerService.HandlerSpecific 
handlerSpecific, final
         final ChannelHandlerContext ctx = handlerSpecific.getCtx();
 
         final HttpEventWrapper requestWrapper = asyncContext.getRequest();
-
+        String localAddress = IPUtils.getLocalAddress();

Review Comment:
   When call IPUtils.getLocalAddress() one time,it's redundant code.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to