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:
parent
75479531e0
commit
c8b9198f3b
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user