mirror of https://github.com/apache/nifi.git
peerStatus to peerDescription in EndpointConnectionPool.java fixing incompatible type error
Signed-off-by: Mark Payne <markap14@hotmail.com>
This commit is contained in:
parent
6c3256e00a
commit
6e492b4082
|
@ -258,7 +258,7 @@ public class EndpointConnectionPool {
|
|||
}
|
||||
|
||||
final PeerDescription peerDescription = peerStatus.getPeerDescription();
|
||||
BlockingQueue<EndpointConnection> connectionQueue = connectionQueueMap.get(peerStatus);
|
||||
BlockingQueue<EndpointConnection> connectionQueue = connectionQueueMap.get(peerDescription);
|
||||
if (connectionQueue == null) {
|
||||
connectionQueue = new LinkedBlockingQueue<>();
|
||||
BlockingQueue<EndpointConnection> existing = connectionQueueMap.putIfAbsent(peerDescription, connectionQueue);
|
||||
|
|
Loading…
Reference in New Issue