mirror of
https://github.com/apache/nifi.git
synced 2025-02-16 23:15:36 +00:00
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();
|
final PeerDescription peerDescription = peerStatus.getPeerDescription();
|
||||||
BlockingQueue<EndpointConnection> connectionQueue = connectionQueueMap.get(peerStatus);
|
BlockingQueue<EndpointConnection> connectionQueue = connectionQueueMap.get(peerDescription);
|
||||||
if (connectionQueue == null) {
|
if (connectionQueue == null) {
|
||||||
connectionQueue = new LinkedBlockingQueue<>();
|
connectionQueue = new LinkedBlockingQueue<>();
|
||||||
BlockingQueue<EndpointConnection> existing = connectionQueueMap.putIfAbsent(peerDescription, connectionQueue);
|
BlockingQueue<EndpointConnection> existing = connectionQueueMap.putIfAbsent(peerDescription, connectionQueue);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user