RA: Add option for sequential number assignment from a range
[ccsdk/sli/adaptors.git] / resource-assignment / provider / src / main / java / org / onap / ccsdk / sli / adaptors / rm / comp / AllocationFunction.java
index 5ec7c26..4850106 100644 (file)
@@ -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++;