Fix for Bug 5879 - Wrong run-time check for variable value 01/39301/10
authorSuvitha Balu <[email protected]>
Tue, 24 May 2016 06:33:55 +0000 (12:03 +0530)
committerBrady Johnson <[email protected]>
Tue, 7 Jun 2016 08:41:12 +0000 (08:41 +0000)
Change-Id: I1ea76572dc40fd634070f4bfa2b7718ca4db1be8
Signed-off-by: Suvitha Balu <[email protected]>
sfc-scf-openflow/src/main/java/org/opendaylight/sfc/scfofrenderer/SfcScfOfProcessor.java

index 9a7b9337a47d9ef67f6431ce44c6c5172d2f39f2..980544fdb805b460d792f9f1389073b4fdd3d021 100644 (file)
@@ -284,7 +284,7 @@ public class SfcScfOfProcessor {
 
                 // Action
                 Actions actions = ace.getActions();
-                if (ruleName == null) {
+                if (actions == null) {
                     LOG.error("createdServiceFunctionClassifier: action is null\n");
                     continue;
                 }