Modify code and of terminate_vnf_grant_resource
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / vnfs / vnf_query / query_vnf.py
index 7f4dc8d..3ef1a8d 100644 (file)
@@ -72,7 +72,7 @@ class QueryVnf:
             }
             vl_arr.append(v_dic)
         logger.info('Get VNFCInstModel of list.')
-        vnfc_insts = VNFCInstModel.objects.filter(nfinstid=vnf.nfinstid)
+        vnfc_insts = VNFCInstModel.objects.filter(instid=vnf.nfinstid)
         vnfc_arr = []
         for vnfc in vnfc_insts:
             vm = VmInstModel.objects.filter(vmid=vnfc.vmid)