Modify the incorrect return code 95/29095/1
authorfengyuanxing <feng.yuanxing@zte.com.cn>
Thu, 25 Jan 2018 02:34:59 +0000 (10:34 +0800)
committerfengyuanxing <feng.yuanxing@zte.com.cn>
Thu, 25 Jan 2018 02:34:59 +0000 (10:34 +0800)
Change-Id: I5d00cb478f040219299284e77330a38e79a7402b
Issue-ID: VFC-677
Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
catalog/jobs/views.py

index 20278e4..458ddc5 100644 (file)
@@ -18,7 +18,6 @@ from drf_yasg import openapi
 from drf_yasg.utils import swagger_auto_schema
 from rest_framework.response import Response
 from rest_framework.views import APIView
-
 from catalog.jobs.job_get import GetJobInfoService
 from catalog.pub.utils.jobutil import JobUtil
 from catalog.pub.utils.values import ignore_case_get
@@ -46,7 +45,7 @@ class JobView(APIView):
         operation_description="Update job status",
         manual_parameters=[input_job_id, input_response_id],
         responses={
-            200: PostJobResponseSerializer(),
+            202: PostJobResponseSerializer(),
             500: PostJobResponseSerializer()
         }
     )