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

Change-Id: Ie147f8d55ae3be6e94382bbd773940a11cfd3b5f
diff --git a/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ConsistentResourceStore.java b/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ConsistentResourceStore.java
index e17adce..aed07cd 100644
--- a/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ConsistentResourceStore.java
+++ b/core/store/dist/src/main/java/org/onosproject/store/resource/impl/ConsistentResourceStore.java
@@ -301,7 +301,7 @@
                 }
 
                 boolean success = appendValue(continuousConsumerTxMap,
-                        continuous, new ResourceAllocation(continuous, consumer));
+                        continuous, new ResourceAllocation(resource, consumer));
                 if (!success) {
                     return abortTransaction(tx);
                 }