yu199195 commented on code in PR #5845:
URL: https://github.com/apache/shenyu/pull/5845#discussion_r1879655522


##########
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/SelectorServiceImpl.java:
##########
@@ -294,12 +294,14 @@ private void unbindDiscovery(final List<SelectorDO> 
selectors, final List<Plugin
             if (Objects.nonNull(discoveryDO)) {
                 final DiscoveryProcessor discoveryProcessor = 
discoveryProcessorHolder.chooseProcessor(discoveryDO.getType());
                 ProxySelectorDTO proxySelectorDTO = new ProxySelectorDTO();
+                proxySelectorDTO.setId(selector.getId());
                 proxySelectorDTO.setName(selector.getName());
-                
proxySelectorDTO.setPluginName(pluginMap.getOrDefault(selector.getId(), ""));
+                
proxySelectorDTO.setPluginName(pluginMap.getOrDefault(selector.getPluginId(), 
""));

Review Comment:
   why is  pluginMap.getOrDefault(selector.getPluginId(), "")?



-- 
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]

Reply via email to