InstallationFuture: latch after setting error info

Change-Id: Ib7d1f01228a792707a865f71f19c0d3fa96dc1f0
This commit is contained in:
Yuta HIGUCHI 2014-11-27 09:37:34 -08:00
parent ca867ac786
commit 804a4bb06a

View File

@ -396,7 +396,6 @@ public class OpenFlowRuleProvider extends AbstractProvider implements FlowRulePr
public void fail(OFErrorMsg msg, Dpid dpid) {
ok.set(false);
removeRequirement(dpid);
FlowEntry fe = null;
FlowRuleBatchEntry fbe = fms.get(msg.getXid());
failedId = fbe.id();
@ -446,6 +445,7 @@ public class OpenFlowRuleProvider extends AbstractProvider implements FlowRulePr
}
offendingFlowMods.add(fe);
removeRequirement(dpid);
}