FMX commented on code in PR #2564:
URL: https://github.com/apache/celeborn/pull/2564#discussion_r1639418597


##########
common/src/main/scala/org/apache/celeborn/common/util/Utils.scala:
##########
@@ -414,8 +414,28 @@ object Utils extends Logging {
     customHostname = Some(hostname)
   }
 
+  val ipv6AddressPattern = """^\[.*:.*\]$""".r

Review Comment:
   Inet6Address.getHostAddress will return an IPv6 string without the "[]". In 
this case, I think this check is redundant.



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