Replacing nonNull API's in netvirt.
[netvirt.git] / ipv6service / impl / src / main / java / org / opendaylight / netvirt / ipv6service / IfMgr.java
index e9490fe01530e34419196536565626ad26c5ffc0..d56cc6a6368e4f41a5d0a1e44e9aee89205fba59 100644 (file)
@@ -1064,7 +1064,7 @@ public class IfMgr implements ElementCache, AutoCloseable {
                 LOG.warn("RPC Call to Get egress actions for interface {} returned with Errors {}",
                         interfaceName, rpcResult.getErrors());
             } else {
-                actions = new ArrayList<Action>(rpcResult.getResult().getAction().values());
+                actions = new ArrayList<Action>(rpcResult.getResult().nonnullAction().values());
             }
         } catch (InterruptedException | ExecutionException e) {
             LOG.warn("Exception when egress actions for interface {}", interfaceName, e);