We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f5a1e1a + be100a0 commit dfcd417Copy full SHA for dfcd417
1 file changed
src/main/java/com/basho/riak/client/api/RiakClient.java
@@ -262,7 +262,7 @@ public static RiakClient newClient(InetSocketAddress... addresses) throws Unknow
262
List<RiakNode> nodes = new LinkedList<RiakNode>();
263
for (InetSocketAddress addy : addresses)
264
{
265
- builder.withRemoteAddress(addy.getHostString())
+ builder.withRemoteAddress(addy.getHostName())
266
.withRemotePort(addy.getPort());
267
nodes.add(builder.build());
268
}
0 commit comments