diff --git a/cachecloud-open-client/cachecloud-jedis/src/main/java/redis/clients/util/ClusterNodeInformationParser.java b/cachecloud-open-client/cachecloud-jedis/src/main/java/redis/clients/util/ClusterNodeInformationParser.java index 8352dc3c..d0280d7f 100644 --- a/cachecloud-open-client/cachecloud-jedis/src/main/java/redis/clients/util/ClusterNodeInformationParser.java +++ b/cachecloud-open-client/cachecloud-jedis/src/main/java/redis/clients/util/ClusterNodeInformationParser.java @@ -36,7 +36,7 @@ public HostAndPort getHostAndPortFromNodeLine(String[] nodeInfoPartArray, HostAn String[] arrayHostAndPort = stringHostAndPort.split(":"); return new HostAndPort(arrayHostAndPort[0].isEmpty() ? current.getHost() : arrayHostAndPort[0], - arrayHostAndPort[1].isEmpty() ? current.getPort() : Integer.valueOf(arrayHostAndPort[1])); + arrayHostAndPort[1].isEmpty() ? current.getPort() : Integer.valueOf(arrayHostAndPort[1]).split("@")[0])); } private void fillSlotInformation(String[] slotInfoPartArray, ClusterNodeInformation info) { diff --git a/cachecloud-open-web/src/main/webapp/WEB-INF/jsp/manage/include/foot.jsp b/cachecloud-open-web/src/main/webapp/WEB-INF/jsp/manage/include/foot.jsp index f586076c..3489a745 100644 --- a/cachecloud-open-web/src/main/webapp/WEB-INF/jsp/manage/include/foot.jsp +++ b/cachecloud-open-web/src/main/webapp/WEB-INF/jsp/manage/include/foot.jsp @@ -1,11 +1,11 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>