Thomas Vachuska
Committed by Gerrit Code Review

Fixed an NPE in DeviceManager provider service.

Change-Id: I9afc5e715ee88855384652dc81677b3de5b89300
......@@ -417,10 +417,12 @@ public class DeviceManager
.collect(Collectors.toList());
List<DeviceEvent> events = store.updatePorts(this.provider().id(),
deviceId, portDescriptions);
if (events != null) {
for (DeviceEvent event : events) {
post(event);
}
}
}
@Override
public void portStatusChanged(DeviceId deviceId,
......