Sho SHIMIZU
Committed by Gerrit Code Review

Fix one of the causes of ONOS-3954

Return statement was missing on an allocation failure

Change-Id: If6107462061ef56cd45ccb9e6d67d47f6aae9f43
......@@ -115,7 +115,7 @@ public class PathCompiler<T> {
List<ResourceAllocation> allocations =
creator.resourceService().allocate(intent.id(), ImmutableList.copyOf(resources));
if (allocations.isEmpty()) {
Collections.emptyMap();
return Collections.emptyMap();
}
return vlanIds;
......