Skip to content

Commit

Permalink
Merge pull request #546 from catenax-ng/fix/pool/bpn-issuing-count
Browse files Browse the repository at this point in the history
Fix(Pool): Number of BPNs issued on Request
  • Loading branch information
nicoprow authored Oct 20, 2023
2 parents 7acbcaa + 485e6c7 commit 0160dcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class BpnIssuingService(
val counterEntry = getOrCreateCounter(bpnCounterKey)
val startCounter = counterEntry.value.toLongOrNull() ?: throw BpnInvalidCounterValueException(counterEntry.value)

val createdBpns = (0..count)
val createdBpns = (0 until count)
.map {
createBpn(startCounter + it, bpnChar)
}
Expand Down

0 comments on commit 0160dcf

Please sign in to comment.