summaryrefslogtreecommitdiffstats
path: root/juju/juju-vnfmadapter
diff options
context:
space:
mode:
Diffstat (limited to 'juju/juju-vnfmadapter')
-rw-r--r--juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/service/process/VnfResourceMgr.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/service/process/VnfResourceMgr.java b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/service/process/VnfResourceMgr.java
index d0a1f01..80d24d3 100644
--- a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/service/process/VnfResourceMgr.java
+++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/service/process/VnfResourceMgr.java
@@ -211,8 +211,7 @@ public class VnfResourceMgr {
if(vnfmInfo != null && StringUtils.isNotBlank(vnfmInfo.getExtend())){
JSONObject json = JSONObject.fromObject(vnfmInfo.getExtend());
JSONObject extVirtualLinkLink = json.getJSONArray("extVirtualLinks").getJSONObject(0);
- String vimId = extVirtualLinkLink.getJSONObject("vim").getString("vimid");
- return vimId;
+ return extVirtualLinkLink.getJSONObject("vim").getString("vimid");
}
} catch(Exception e) {
LOG.error("vnfmInfo.getExtend() format error!please check it",e);