summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/views/subscriptions_view.py
diff options
context:
space:
mode:
authorhongyuzhao <zhao.hongyu@zte.com.cn>2019-07-22 17:34:47 +0800
committermaopeng zhang <zhang.maopeng1@zte.com.cn>2019-07-22 10:33:23 +0000
commit81b84ce1988d96da4e46d9d51e94ef936d67f19e (patch)
tree0ccd2ae05dafef085bed532dbf34ac240a3df7f3 /lcm/lcm/nf/views/subscriptions_view.py
parented5205d1510fd2179d117585495c3000d87ffed6 (diff)
improve code coverage rate (scale vnf to level) after vfclcm upgraded from python2 to python
Change-Id: I5a6141591bdc639c2508a38af206bc5c45f8d309 Issue-ID: VFC-1429 Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
Diffstat (limited to 'lcm/lcm/nf/views/subscriptions_view.py')
-rw-r--r--lcm/lcm/nf/views/subscriptions_view.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/nf/views/subscriptions_view.py b/lcm/lcm/nf/views/subscriptions_view.py
index 547e0124..4f6566bd 100644
--- a/lcm/lcm/nf/views/subscriptions_view.py
+++ b/lcm/lcm/nf/views/subscriptions_view.py
@@ -106,7 +106,7 @@ class SubscriptionsView(APIView):
raise NFLCMException(subscriptions_serializer.errors)
logger.debug("SubscribeNotification--get::> Remove default fields")
- return Response(data=subscriptions_serializer.data, status=status.HTTP_200_OK)
+ return Response(data=resp_data, status=status.HTTP_200_OK)
class SubscriptionDetailView(APIView):