You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/02/01 18:14:21 UTC

[GitHub] [cassandra-sidecar] yifan-c commented on a change in pull request #25: Optionally support multiple cassandra instances in Sidecar

yifan-c commented on a change in pull request #25:
URL: https://github.com/apache/cassandra-sidecar/pull/25#discussion_r796870900



##########
File path: src/main/java/org/apache/cassandra/sidecar/utils/RequestUtils.java
##########
@@ -0,0 +1,24 @@
+package org.apache.cassandra.sidecar.utils;
+
+/**
+ * Utility class for Http request related operations.
+ */
+public class RequestUtils
+{
+    /**
+     * Given a combined host address like 127.0.0.1:9042 or [2001:db8:0:0:0:ff00:42:8329]:9042, this method
+     * removes port information and returns 27.0.0.1 or 2001:db8:0:0:0:ff00:42:8329.

Review comment:
       typo: `127.0.0.1`




-- 
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: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org