diff options
Diffstat (limited to 'lcm/ns/biz/ns_terminate.py')
-rw-r--r-- | lcm/ns/biz/ns_terminate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lcm/ns/biz/ns_terminate.py b/lcm/ns/biz/ns_terminate.py index 4bc9d430..701e65c6 100644 --- a/lcm/ns/biz/ns_terminate.py +++ b/lcm/ns/biz/ns_terminate.py @@ -45,6 +45,7 @@ class TerminateNsService(threading.Thread): try: if not NSInstModel.objects.filter(id=self.ns_inst_id): JobUtil.add_job_status(self.job_id, 100, "Need not terminate.", '') + NsLcmOpOcc.update(self.occ_id, "COMPLETED") return JobUtil.add_job_status(self.job_id, 10, "Starting terminate...", '') |