senchang-zhang opened a new pull request, #640: URL: https://github.com/apache/ozhera/pull/640
## Summary - Optimized `getAgentChannelMap()` in `DefaultPublishConfigService` to prioritize using the IP directly from `AgentChannel` when available - Falls back to parsing IP from the key string (original behavior) when the IP field is blank - This improves reliability when agent connections use domain-based resolution instead of direct IP connections ## Changes - `ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultPublishConfigService.java` ## Test plan - [ ] Verify agent channel map correctly uses IP when available - [ ] Verify fallback to key-based parsing when IP is blank - [ ] Integration test with domain-based agent connections 🤖 Generated with [Claude Code](https://claude.com/claude-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]
