From 1d4ae57b08ce589f2c8eefbfb4457f0d84bc972d Mon Sep 17 00:00:00 2001 From: hongyuzhao Date: Mon, 23 Sep 2019 17:18:24 +0800 Subject: Code optimization Change-Id: I610a4f24c0fcfaac9198b5073309586f315a6a4a Issue-ID: VFC-1431 Signed-off-by: hongyuzhao --- lcm/lcm/nf/views/curd_vnf_views.py | 1 + 1 file changed, 1 insertion(+) 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" } ) -- cgit 1.2.3-korg