mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
Fix NPE when clean up SingleSwitchFibInstaller
interfaces can be null if no interface config is provided Change-Id: I67f94f78ef1fb4536e5bbc940be6216e2699f2fe
This commit is contained in:
parent
db46ab39e7
commit
14ed0b65f3
@ -282,7 +282,7 @@ public class SingleSwitchFibInstaller {
|
||||
|
||||
private Set<Interface> getInterfaces() {
|
||||
Set<Interface> intfs;
|
||||
if (interfaces.isEmpty()) {
|
||||
if (interfaces == null || interfaces.isEmpty()) {
|
||||
intfs = interfaceService.getInterfaces();
|
||||
} else {
|
||||
// TODO need to fix by making interface names globally unique
|
||||
|
Loading…
x
Reference in New Issue
Block a user