Skip to content

Commit e8300bd

Browse files
committed
Changed member toString format
1 parent 1a77bca commit e8300bd

File tree

1 file changed

+2
-2
lines changed
  • cluster-api/src/main/java/io/scalecube/cluster

1 file changed

+2
-2
lines changed

cluster-api/src/main/java/io/scalecube/cluster/Member.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ public void readExternal(ObjectInput in) throws IOException {
133133

134134
@Override
135135
public String toString() {
136-
StringJoiner stringJoiner = new StringJoiner("/");
136+
StringJoiner stringJoiner = new StringJoiner(":");
137137
if (alias == null) {
138138
return stringJoiner.add(namespace).add(id + "@" + address).toString();
139139
} else {
140-
return stringJoiner.add(namespace).add(alias + ":" + id + "@" + address).toString();
140+
return stringJoiner.add(namespace).add(alias).add(id + "@" + address).toString();
141141
}
142142
}
143143
}

0 commit comments

Comments
 (0)