yyqdbngt opened a new pull request, #3111:
URL: https://github.com/apache/rocketmq-dashboard/pull/3111

   ### Summary
   Trim the NameServer address before cluster discovery:
   
   - `discoverClustersAt` trims `namesrvAddr` before using it for the admin 
connection and for building the NameServer list.
   
   ### Why
   An address pasted with surrounding whitespace previously connected/compared 
against a padded string, silently returning no clusters (or mismatched 
NameServer lists) for a valid endpoint.
   
   ### Testing
   - `mvn -f server/pom.xml -Dtest=RocketMQClusterProviderTest test` passes: 
14/14 (existing suite; behavior unchanged for clean input).
   


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