summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2018-03-02 13:53:35 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2018-03-02 13:53:35 +0800
commit4528aa442cbb504ed19949c7d409af8b04b6136d (patch)
treed467405b9544193fd47efd3c6a4aa378e8e017ca
parent6974ba59a77f9065992cac3065856e81323ea88c (diff)
Fix vfc-ztevnfmdriver sonar issue
Change-Id: If296fb5e9d6025ac006404782846ba2ded2fd36d Issue-ID: VFC-781 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r--zte/vmanager/driver/interfaces/serializers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/zte/vmanager/driver/interfaces/serializers.py b/zte/vmanager/driver/interfaces/serializers.py
index c9206579..eafe0939 100644
--- a/zte/vmanager/driver/interfaces/serializers.py
+++ b/zte/vmanager/driver/interfaces/serializers.py
@@ -15,7 +15,7 @@
from rest_framework import serializers
-class additionalParamSerializer(serializers.Serializer):
+class AdditionalParamSerializer(serializers.Serializer):
sdncontroller = serializers.CharField(
help_text="sdncontroller",
required=True,
@@ -79,7 +79,7 @@ class InstantiateVnfRequestSerializer(serializers.Serializer):
required=True,
max_length=255,
allow_null=True)
- additionalParam = additionalParamSerializer(
+ additionalParam = AdditionalParamSerializer(
help_text="additionalParam",
required=True,
allow_null=True)