mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 18:02:05 +02:00
Removed usage of deprecated method
Change-Id: I896fd7db68a0c86893423548bc0a3489ac42ac77
This commit is contained in:
parent
ed969bac22
commit
222229ea85
@ -590,15 +590,12 @@ public class DistributedFlowRuleStore
|
||||
log.trace("Forwarding removeFlowRule to {}, which is the master for device {}",
|
||||
master, deviceId);
|
||||
|
||||
return Futures.get(clusterCommunicator.sendAndReceive(
|
||||
return Futures.getUnchecked(clusterCommunicator.sendAndReceive(
|
||||
rule,
|
||||
REMOVE_FLOW_ENTRY,
|
||||
SERIALIZER::encode,
|
||||
SERIALIZER::decode,
|
||||
master),
|
||||
FLOW_RULE_STORE_TIMEOUT_MILLIS,
|
||||
TimeUnit.MILLISECONDS,
|
||||
RuntimeException.class);
|
||||
master));
|
||||
}
|
||||
|
||||
private FlowRuleEvent removeFlowRuleInternal(FlowEntry rule) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user