Merge pull request #14007 from synhershko/patch-6

Fix ensureNodesAreAvailable's error message
This commit is contained in:
Luca Cavanna 2015-10-19 10:42:11 +02:00
commit 6be72d220f
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ public class TransportClientNodesService extends AbstractComponent {
private void ensureNodesAreAvailable(List<DiscoveryNode> nodes) {
if (nodes.isEmpty()) {
String message = String.format(Locale.ROOT, "None of the configured nodes are available: %s", nodes);
String message = String.format(Locale.ROOT, "None of the configured nodes are available: %s", this.listedNodes);
throw new NoNodeAvailableException(message);
}
}