Fix missing return statement in MPLS label allocation
Change-Id: I1ff26d253585d09b75ceecf819efa0d027057e50
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -264,7 +264,7 @@ public class PathCompiler<T> { | ... | @@ -264,7 +264,7 @@ public class PathCompiler<T> { |
264 | List<ResourceAllocation> allocations = | 264 | List<ResourceAllocation> allocations = |
265 | creator.resourceService().allocate(intent.id(), ImmutableList.copyOf(resources)); | 265 | creator.resourceService().allocate(intent.id(), ImmutableList.copyOf(resources)); |
266 | if (allocations.isEmpty()) { | 266 | if (allocations.isEmpty()) { |
267 | - Collections.emptyMap(); | 267 | + return Collections.emptyMap(); |
268 | } | 268 | } |
269 | 269 | ||
270 | return labels; | 270 | return labels; | ... | ... |
-
Please register or login to post a comment