[tiny-fix] Wrong location of deviceId in the log.
Change-Id: Ib74ba2f152cc7554f930b49289e3697ac1d3f23f
diff --git a/core/net/src/main/java/org/onosproject/net/group/impl/GroupManager.java b/core/net/src/main/java/org/onosproject/net/group/impl/GroupManager.java
index 4a0e409..06ce6ac 100644
--- a/core/net/src/main/java/org/onosproject/net/group/impl/GroupManager.java
+++ b/core/net/src/main/java/org/onosproject/net/group/impl/GroupManager.java
@@ -436,9 +436,9 @@
case DEVICE_AVAILABILITY_CHANGED:
DeviceId deviceId = event.subject().id();
if (!deviceService.isAvailable(deviceId)) {
- log.debug("Device {} became unavailable; clearing initial audit status",
- event.type(), event.subject().id());
- store.deviceInitialAuditCompleted(event.subject().id(), false);
+ log.debug("Device {} became unavailable for {}; clearing initial audit status",
+ deviceId, event.type());
+ store.deviceInitialAuditCompleted(deviceId, false);
if (purgeOnDisconnection) {
store.purgeGroupEntry(deviceId);