commit | 914ed23baa310e0ef68610a2cdb3ffac1a022932 | [log] [tgz] |
---|---|---|
author | wu <wu.shaoyong@zte.com.cn> | Tue Oct 23 11:19:53 2018 +0800 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Tue Oct 23 17:22:33 2018 +0000 |
tree | c590e88dc5d81d33340e5195060629060bc8a8fc | |
parent | 855b108bcc3bd838eb8461581b567f8ff2051727 [diff] |
The ops should be checked if it is null. Change-Id: If91582add24334427c4b9f935cec622a6e7d8f6d
diff --git a/pipelines/fabric/src/main/java/org/onosproject/pipelines/fabric/pipeliner/FabricPipeliner.java b/pipelines/fabric/src/main/java/org/onosproject/pipelines/fabric/pipeliner/FabricPipeliner.java index 7cd154b..7b3006d 100644 --- a/pipelines/fabric/src/main/java/org/onosproject/pipelines/fabric/pipeliner/FabricPipeliner.java +++ b/pipelines/fabric/src/main/java/org/onosproject/pipelines/fabric/pipeliner/FabricPipeliner.java
@@ -242,6 +242,9 @@ } FlowRuleOperations ops = buildFlowRuleOps(objective, flowRules); + if (ops == null) { + return; + } flowRuleService.apply(ops); flowRules.forEach(flow -> {