X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fnf%2Fviews%2Fheal_vnf_view.py;h=4c2fad0e07b0abecaa427fb6ceb950085ac0cb8b;hb=b2c15bc4a66f804d462e213a7cd16aa5abe24931;hp=6b3b31397e9b2569a0a6c2decad683d0e04a6a5b;hpb=1cbfeb8366d32855c1d4daf4e7371bb4081f89de;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/nf/views/heal_vnf_view.py b/lcm/lcm/nf/views/heal_vnf_view.py index 6b3b3139..4c2fad0e 100644 --- a/lcm/lcm/nf/views/heal_vnf_view.py +++ b/lcm/lcm/nf/views/heal_vnf_view.py @@ -81,9 +81,6 @@ class HealVnfView(APIView): if not vnf_insts.exists(): raise NFLCMExceptionNotFound("VNF nf_inst_id does not exist.") - if vnf_insts[0].status != 'INSTANTIATED': - raise NFLCMExceptionConflict("VNF instantiationState is not INSTANTIATED.") - NfInstModel.objects.filter(nfinstid=nf_inst_id).update(status=VNF_STATUS.HEALING) JobUtil.add_job_status(job_id, 15, 'Nf healing pre-check finish') logger.info("Nf healing pre-check finish")