Fix typo - componenService -> componentService
Change-Id: Ibcabc473c00ea8081ab0fe6cce29cb0d83441a29
diff --git a/core/net/src/main/java/org/onosproject/net/driver/impl/DriverRegistryManager.java b/core/net/src/main/java/org/onosproject/net/driver/impl/DriverRegistryManager.java
index f5bed89..546f40a 100644
--- a/core/net/src/main/java/org/onosproject/net/driver/impl/DriverRegistryManager.java
+++ b/core/net/src/main/java/org/onosproject/net/driver/impl/DriverRegistryManager.java
@@ -89,7 +89,7 @@
protected ComponentConfigService componentConfigService;
@Reference(cardinality = ReferenceCardinality.MANDATORY)
- protected ComponentService componenService;
+ protected ComponentService componentService;
@Reference(cardinality = ReferenceCardinality.MANDATORY)
protected EventDeliveryService eventDispatcher;
@@ -181,11 +181,11 @@
boolean isReady = driverSet.containsAll(requiredDriverSet);
if (isReady && !isStarted) {
log.info("Starting driver subsystem");
- componenService.activate(null, DRIVER_COMPONENT);
+ componentService.activate(null, DRIVER_COMPONENT);
isStarted = true;
} else if (!isReady && isStarted) {
log.info("Stopping driver subsystem");
- componenService.deactivate(null, DRIVER_COMPONENT);
+ componentService.deactivate(null, DRIVER_COMPONENT);
isStarted = false;
}
}
diff --git a/core/net/src/test/java/org/onosproject/net/driver/impl/DriverRegistryManagerTest.java b/core/net/src/test/java/org/onosproject/net/driver/impl/DriverRegistryManagerTest.java
index 053bc29..d6425f9 100644
--- a/core/net/src/test/java/org/onosproject/net/driver/impl/DriverRegistryManagerTest.java
+++ b/core/net/src/test/java/org/onosproject/net/driver/impl/DriverRegistryManagerTest.java
@@ -54,7 +54,7 @@
mgr.deviceService = new DeviceServiceAdapter();
mgr.componentConfigService = new ComponentConfigAdapter();
mgr.eventDispatcher = new TestEventDispatcher();
- mgr.componenService = componentService;
+ mgr.componentService = componentService;
mgr.activate(null);
}