summaryrefslogtreecommitdiffstats
path: root/resource-assignment/provider/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'resource-assignment/provider/src/main/java')
-rw-r--r--resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/AllocationFunction.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/AllocationFunction.java b/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/AllocationFunction.java
index 5ec7c26ba..485010656 100644
--- a/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/AllocationFunction.java
+++ b/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/AllocationFunction.java
@@ -359,9 +359,7 @@ class AllocationFunction extends SynchronizedFunction {
break;
}
}
- if (foundAllocated) {
- n++;
- }
+ n++;
for (; foundCount < req.requestedCount && n <= range.max; n++) {
foundNumbers.add(n);
foundCount++;