summaryrefslogtreecommitdiffstats
path: root/resource-assignment/provider/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'resource-assignment/provider/src/main/java/org')
-rw-r--r--resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/ra/comp/EndPointAllocatorImpl.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/ra/comp/EndPointAllocatorImpl.java b/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/ra/comp/EndPointAllocatorImpl.java
index 83dab5418..91f587340 100644
--- a/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/ra/comp/EndPointAllocatorImpl.java
+++ b/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/ra/comp/EndPointAllocatorImpl.java
@@ -259,9 +259,7 @@ public class EndPointAllocatorImpl implements EndPointAllocator {
if (r != null && r.allocationItems != null && !r.allocationItems.isEmpty()) {
log.info("ResourceName:" + r.resourceKey.resourceName + " assetId:" + r.resourceKey.assetId);
-
- ResourceData rd = getResourceData(r);
- return rd;
+ return getResourceData(r);
}
return null;