Committed by
Gerrit Code Review
Null pointer deference fix in openstackswitching
Change-Id: I00d4e3861ea699fbbc1991f85101dfaf3ae09780
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -303,7 +303,7 @@ public class OpenstackSwitchingManager implements OpenstackSwitchingService { | ... | @@ -303,7 +303,7 @@ public class OpenstackSwitchingManager implements OpenstackSwitchingService { |
303 | .filter(s -> s.networkId().equals(port.networkId())) | 303 | .filter(s -> s.networkId().equals(port.networkId())) |
304 | .findFirst().get(); | 304 | .findFirst().get(); |
305 | if (subnet == null) { | 305 | if (subnet == null) { |
306 | - log.debug("No subnet information for network {}", subnet.id()); | 306 | + log.debug("No subnet information for network {}", port.networkId()); |
307 | return null; | 307 | return null; |
308 | } | 308 | } |
309 | 309 | ... | ... |
-
Please register or login to post a comment