aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lcm/ns/views/sol/terminate_ns_view.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/ns/views/sol/terminate_ns_view.py b/lcm/ns/views/sol/terminate_ns_view.py
index 51e087bb..0983b460 100644
--- a/lcm/ns/views/sol/terminate_ns_view.py
+++ b/lcm/ns/views/sol/terminate_ns_view.py
@@ -55,7 +55,7 @@ class TerminateNsView(APIView):
terminate_ns_service = TerminateNsService(ns_instance_id, job_id, request.data)
terminate_ns_service.start()
logger.debug("Location: %s" % terminate_ns_service.occ_id)
- response = Response(data={}, status=status.HTTP_202_ACCEPTED)
+ response = Response(data={'jobId': job_id}, status=status.HTTP_202_ACCEPTED)
response["Location"] = NS_OCC_BASE_URI % terminate_ns_service.occ_id
logger.debug("Leave TerminateNSView")
return response