mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 18:32:28 +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 {}",
|
log.trace("Forwarding removeFlowRule to {}, which is the master for device {}",
|
||||||
master, deviceId);
|
master, deviceId);
|
||||||
|
|
||||||
return Futures.get(clusterCommunicator.sendAndReceive(
|
return Futures.getUnchecked(clusterCommunicator.sendAndReceive(
|
||||||
rule,
|
rule,
|
||||||
REMOVE_FLOW_ENTRY,
|
REMOVE_FLOW_ENTRY,
|
||||||
SERIALIZER::encode,
|
SERIALIZER::encode,
|
||||||
SERIALIZER::decode,
|
SERIALIZER::decode,
|
||||||
master),
|
master));
|
||||||
FLOW_RULE_STORE_TIMEOUT_MILLIS,
|
|
||||||
TimeUnit.MILLISECONDS,
|
|
||||||
RuntimeException.class);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private FlowRuleEvent removeFlowRuleInternal(FlowEntry rule) {
|
private FlowRuleEvent removeFlowRuleInternal(FlowEntry rule) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user