Yuta HIGUCHI

Attempt to reduce harmless warnings during shutdown

Change-Id: I431c9d5944c1655c45c4ece8b39da4fdb108c6f4
......@@ -77,6 +77,9 @@ public class GroupStatsCollector implements TimerTask {
if (sw.getRole() != RoleState.MASTER) {
return;
}
if (!sw.isConnected()) {
return;
}
Long statsXid = OpenFlowGroupProvider.getXidAndAdd(2);
OFGroupStatsRequest statsRequest = sw.factory().buildGroupStatsRequest()
.setGroup(OFGroup.ALL)
......