From: maopengzhang Date: Sat, 30 Mar 2019 07:18:06 +0000 (+0800) Subject: fix affected nss Serializer error X-Git-Tag: 1.3.0~87 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5b3de3009b2c799905aadd6d4dba29785fdf983f;p=vfc%2Fnfvo%2Flcm.git fix affected nss Serializer error fix affected nss Serializer error Change-Id: I2c95463b0fd7dd244927db23563f546fccbe58dd Issue-ID: VFC-1213 Signed-off-by: maopengzhang --- diff --git a/lcm/ns/serializers/sol/affected_nss.py b/lcm/ns/serializers/sol/affected_nss.py index 208e311b..2ac6b969 100644 --- a/lcm/ns/serializers/sol/affected_nss.py +++ b/lcm/ns/serializers/sol/affected_nss.py @@ -1,4 +1,5 @@ # Copyright (c) 2019, CMCC Technologies Co., Ltd. +# Copyright 2019 ZTE Corporation. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -45,12 +46,12 @@ class AffectedNssSerializer(serializers.Serializer): required=True ) changeType = serializers.ChoiceField( - help_text="Signals the type of change", + help_text="Signals the type of lifecycle change.", required=True, choices=CHANGE_TYPE ) changeResult = serializers.ChoiceField( - help_text="Signals the type of change", + help_text="Signals the result of change identified by the changeType attribute.", required=True, choices=CHANGE_RESULT )