summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/views/curd_vnf_views.py
diff options
context:
space:
mode:
authorlaili <lai.li@zte.com.cn>2018-08-17 15:35:57 +0800
committerlaili <lai.li@zte.com.cn>2018-08-17 15:35:57 +0800
commit9e6a8075db99f06574cd483bf42d30550f9aca46 (patch)
treeec2fd1099e867a8b0e8870ee0dc0d0f588a62a72 /lcm/lcm/nf/views/curd_vnf_views.py
parentd2dc48b3cec803261a2673cac09a7fffefd43e7e (diff)
Dealing with test related stuffs.
Add test methods to test vnf query. Change-Id: Ief5fa9b1e8faf380a3a182b9c5c20c3dd15d631a Issue-ID: VFC-1012 Signed-off-by: laili <lai.li@zte.com.cn>
Diffstat (limited to 'lcm/lcm/nf/views/curd_vnf_views.py')
-rw-r--r--lcm/lcm/nf/views/curd_vnf_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/nf/views/curd_vnf_views.py b/lcm/lcm/nf/views/curd_vnf_views.py
index efd85168..5c5f407e 100644
--- a/lcm/lcm/nf/views/curd_vnf_views.py
+++ b/lcm/lcm/nf/views/curd_vnf_views.py
@@ -109,7 +109,7 @@ class DeleteVnfAndQueryVnf(APIView):
logger.error(e.message)
return Response(data={'error': '%s' % e.message}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
except Exception as e:
- logger.eror(e.message)
+ logger.error(e.message)
logger.error(traceback.format_exc())
return Response(data={'error': 'Failed to get Vnf(%s)' % instanceid},
status=status.HTTP_500_INTERNAL_SERVER_ERROR)