Naoki Shiota
Committed by Gerrit Code Review

bugfix: Partial allocation of ContinuousResource always allocates full amount of the resource.

Change-Id: Ie147f8d55ae3be6e94382bbd773940a11cfd3b5f
......@@ -301,7 +301,7 @@ public class ConsistentResourceStore extends AbstractStore<ResourceEvent, Resour
}
boolean success = appendValue(continuousConsumerTxMap,
continuous, new ResourceAllocation(continuous, consumer));
continuous, new ResourceAllocation(resource, consumer));
if (!success) {
return abortTransaction(tx);
}
......