Committed by
Gerrit Code Review
[ONOS] Bandwidth allocation fix to onos1.6
Change-Id: I03bf4334ef148c8870d61ec2bca3fb3b3a0a78e5
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -86,7 +86,7 @@ final class ContinuousResourceAllocation { | ... | @@ -86,7 +86,7 @@ final class ContinuousResourceAllocation { |
86 | ((ContinuousResource) x.resource()).value() == resource.value())) | 86 | ((ContinuousResource) x.resource()).value() == resource.value())) |
87 | .collect(Collectors.toList()); | 87 | .collect(Collectors.toList()); |
88 | 88 | ||
89 | - if (matched.size() > 1) { | 89 | + if (matched.size() > 0) { |
90 | matched.remove(0); | 90 | matched.remove(0); |
91 | } | 91 | } |
92 | 92 | ... | ... |
-
Please register or login to post a comment