summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-09-21 14:40:31 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-09-21 14:40:31 +0800
commit9c1f09333184e610d4e9a4497707c17816e8ead4 (patch)
treedae5887778509a372fe15fe9bc3f38866445cae6
parent6594edc6160fb2a43685e383f0dd8727f2df667f (diff)
Fix csit error of lcm
Change-Id: I8a456b0ef4aef5a4692c335dac6dd965bd86d247 Issue-ID: VFC-1009 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--lcm/ns_pnfs/views/pnf_view.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lcm/ns_pnfs/views/pnf_view.py b/lcm/ns_pnfs/views/pnf_view.py
index 0e1ae6fe..c6f2694d 100644
--- a/lcm/ns_pnfs/views/pnf_view.py
+++ b/lcm/ns_pnfs/views/pnf_view.py
@@ -54,7 +54,7 @@ class PnfView(APIView):
return Response(data=resp_serializer.data, status=status.HTTP_201_CREATED)
@swagger_auto_schema(
- request_body="None",
+ request_body=None,
responses={
status.HTTP_200_OK: PnfInstancesSerializer(help_text="Pnf instances", many=True),
status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error"
@@ -77,7 +77,7 @@ class PnfView(APIView):
class IndividualPnfView(APIView):
@swagger_auto_schema(
- request_body="None",
+ request_body=None,
responses={
status.HTTP_204_NO_CONTENT: 'successful',
status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error"
@@ -94,7 +94,7 @@ class IndividualPnfView(APIView):
return Response(data={'error': e.message}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
@swagger_auto_schema(
- request_body="None",
+ request_body=None,
responses={
status.HTTP_200_OK: PnfInstanceSerializer(help_text="Pnf instance", many=True),
status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error",