zhang-arvin commented on PR #18574:
URL:
https://github.com/apache/dolphinscheduler/pull/18574#issuecomment-5520357830
@SbloodyS Thanks for catching this! I have added IPv6 normalization in the
Kubernetes fallback path:
```java
if (inetAddress instanceof Inet6Address) {
return normalizeV6Address((Inet6Address) inetAddress).getHostAddress();
}
return inetAddress.getHostAddress();
```
This ensures that scoped IPv6 addresses (e.g., `fd00::1234%eth0`) are
properly normalized before being returned in K8s mode. Also added a K8s-mode
IPv6 test with scope identifier in `NetUtilsTest.testGetHostInKubernetesMode`.
Please take another look.
--
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]