From: hongyuzhao Date: Mon, 23 Sep 2019 09:18:24 +0000 (+0800) Subject: Code optimization X-Git-Tag: 1.3.7~20 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fgvnfm%2Fvnflcm.git;a=commitdiff_plain;h=1d4ae57b08ce589f2c8eefbfb4457f0d84bc972d Code optimization Change-Id: I610a4f24c0fcfaac9198b5073309586f315a6a4a Issue-ID: VFC-1431 Signed-off-by: hongyuzhao --- diff --git a/lcm/lcm/nf/views/curd_vnf_views.py b/lcm/lcm/nf/views/curd_vnf_views.py index 2992814b..fa57f2ed 100644 --- a/lcm/lcm/nf/views/curd_vnf_views.py +++ b/lcm/lcm/nf/views/curd_vnf_views.py @@ -61,6 +61,7 @@ class CreateVnfAndQueryVnfs(APIView): request_body=CreateVnfReqSerializer(), responses={ status.HTTP_201_CREATED: VnfInstanceSerializer(), + status.HTTP_400_BAD_REQUEST: "Bad Request", status.HTTP_500_INTERNAL_SERVER_ERROR: "Internal error" } )