Fixup Augmentable and Identifiable methods changing
[bgpcep.git] / bgp / cli / src / main / java / org / opendaylight / protocol / bgp / cli / utils / BGPOperationalStateUtils.java
index c114d97b3baf1e97e236013dd9cdc4158799de0a..d5c7e587abc51b13f17d0235b730929073310151 100644 (file)
@@ -72,7 +72,7 @@ public final class BGPOperationalStateUtils {
         } else {
             if (neighbor != null) {
                 globalBgp.getNeighbors().getNeighbor().stream()
-                        .filter(neig -> Ipv4Util.toStringIP(neig.getKey().getNeighborAddress()).matches(neighbor))
+                        .filter(neig -> Ipv4Util.toStringIP(neig.key().getNeighborAddress()).matches(neighbor))
                         .findFirst()
                         .ifPresent(neighbor1 -> displayNeighborOperationalState(neighbor, neighbor1, stream));
             } else {