moremind commented on code in PR #5659: URL: https://github.com/apache/shenyu/pull/5659#discussion_r1817691440
########## shenyu-admin/src/main/java/org/apache/shenyu/admin/service/register/ShenyuClientRegisterDivideServiceImpl.java: ########## @@ -86,6 +86,10 @@ protected String buildHandle(final List<URIRegisterDTO> uriList, final SelectorD if (isEventDeleted) { addList.get(0).setStatus(false); } + boolean isEventHeartbeat = uriList.size() == 1 && EventType.HEARTBEAT.equals(uriList.get(0).getEventType()); Review Comment: why urlList == 1?not urlList > 0? -- 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-unsubscr...@shenyu.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org