diff options
-rw-r--r-- | lcm/lcm/nf/biz/delete_vnf.py | 6 | ||||
-rw-r--r-- | lcm/lcm/nf/views/heal_vnf_view.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lcm/lcm/nf/biz/delete_vnf.py b/lcm/lcm/nf/biz/delete_vnf.py index 6148e6a6..df50944f 100644 --- a/lcm/lcm/nf/biz/delete_vnf.py +++ b/lcm/lcm/nf/biz/delete_vnf.py @@ -25,9 +25,9 @@ class DeleteVnf: self.nf_inst_id = instanceid def do_biz(self): - self.check_parameter() - self.delete_info_from_db() - logger.debug('VnfInst(%s) is deleted.' % self.nf_inst_id) + self.check_parameter() + self.delete_info_from_db() + logger.debug('VnfInst(%s) is deleted.' % self.nf_inst_id) def check_parameter(self): vnf_insts = NfInstModel.objects.filter(nfinstid=self.nf_inst_id) diff --git a/lcm/lcm/nf/views/heal_vnf_view.py b/lcm/lcm/nf/views/heal_vnf_view.py index 4c2fad0e..b30194df 100644 --- a/lcm/lcm/nf/views/heal_vnf_view.py +++ b/lcm/lcm/nf/views/heal_vnf_view.py @@ -66,7 +66,7 @@ class HealVnfView(APIView): probDetail = ProblemDetailsSerializer(data={"status": status.HTTP_409_CONFLICT, "detail": "VNF Instance not in Instantiated State"})
resp_isvalid = probDetail.is_valid()
if not resp_isvalid:
- raise NFLCMException(probDetail.errors)
+ raise NFLCMException(probDetail.errors)
return Response(data=probDetail.data, status=status.HTTP_409_CONFLICT)
except NFLCMException as e:
logger.error(e.message)
|