Skip to content

Commit 4868321

Browse files
committed
Fix comment in UnicastZenPing
This commit fixes an incorrect comment in UnicastZenPing; the comment incorrectly specified which responses is held by the temporal responses.
1 parent f6203d7 commit 4868321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/elasticsearch/discovery/zen/UnicastZenPing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public class UnicastZenPing extends AbstractComponent implements ZenPing {
126126

127127
private final Map<Integer, SendPingsHandler> receivedResponses = newConcurrentMap();
128128

129-
// a list of temporal responses a node will return for a request (holds requests from other configuredHosts)
129+
// a list of temporal responses a node will return for a request (holds responses from other nodes)
130130
private final Queue<PingResponse> temporalResponses = ConcurrentCollections.newQueue();
131131

132132
private final UnicastHostsProvider hostsProvider;

0 commit comments

Comments
 (0)