diff options
author | liuqian <liuqian13@huawei.com> | 2018-05-16 15:09:00 +0800 |
---|---|---|
committer | liuqian <liuqian13@huawei.com> | 2018-05-16 15:09:00 +0800 |
commit | ebaa455b458afdf5ca62a4258a25f676cf91a016 (patch) | |
tree | e86d0adf5ccebb1adcf441066a65d4930dad32a9 /huawei/vnfmadapter | |
parent | b274e9e57cd32e9fd42725d22db33584e2d8407c (diff) |
fix query vm
Change-Id: Ie7639524652ce1f6c7474f8163f2a64afbc5dde0
Issue-ID: VFC-868
Signed-off-by: liuqian <liuqian13@huawei.com>
Diffstat (limited to 'huawei/vnfmadapter')
-rw-r--r-- | huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/VnfMgr.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/VnfMgr.java b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/VnfMgr.java index 85be8ccc..a06a995c 100644 --- a/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/VnfMgr.java +++ b/huawei/vnfmadapter/VnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/service/process/VnfMgr.java @@ -366,7 +366,7 @@ public class VnfMgr { if(vnfInstanceId == null) { url = "/v2/vapps/instances/query/vms"; } else { - url = String.format("/v2/vapps/instances/%s/vms", vnfInstanceId); + url = String.format("/v2/vapps/instances/%s/vm", vnfInstanceId); } restJson = ResultRequestUtil.call(vnfmObjcet, url, Constant.GET, null, Constant.CERTIFICATE); LOG.info("function=getVmsFromVnfm, restJson: {}", restJson); |