FailureDetector: the ip address should have a leading slash

The ip address of the nodes should have a leading forward slash.

Fixes scylladb/scylla#508

Signed-off-by: Amnon Heiman <amnon@scylladb.com>
This commit is contained in:
Amnon Heiman 2015-12-24 15:28:52 +02:00 committed by Avi Kivity
parent 75479531e0
commit c8b9198f3b
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class FailureDetector implements FailureDetectorMBean {
StringBuilder sb = new StringBuilder();
for (Map.Entry<String, EndpointState> entry : getEndpointStateMap().entrySet())
{
sb.append(entry.getKey()).append("\n");
sb.append('/').append(entry.getKey()).append("\n");
appendEndpointState(sb, entry.getValue());
}
return sb.toString();