final NodeId nodeId = PathUtil.digNodeId(flowcapableNodePath);
LOG.trace("syncup future decorator: {}", nodeId.getValue());
- final ListenableFuture<Boolean> syncup = executorService.submit(() -> {
+ return executorService.submit(() -> {
final String oldThreadName = updateThreadName(nodeId);
try {
updateThreadName(oldThreadName);
}
});
-
- return syncup;
}
protected ListenableFuture<Boolean> doSyncupInFuture(final InstanceIdentifier<FlowCapableNode> flowcapableNodePath,