Code Review
/
vfc
/
nfvo
/
lcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9c50643
)
Fix py2 to py3 serializer problem
18/91718/1
author
fujinhua
<fu.jinhua@zte.com.cn>
Fri, 19 Jul 2019 08:31:00 +0000
(16:31 +0800)
committer
fujinhua
<fu.jinhua@zte.com.cn>
Fri, 19 Jul 2019 08:31:00 +0000
(16:31 +0800)
Change-Id: I8d32fc4a9f058714fecc8ee74e933092f601e6a0
Issue-ID: VFC-1429
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
lcm/ns_vnfs/views/vnf_views.py
patch
|
blob
|
history
diff --git
a/lcm/ns_vnfs/views/vnf_views.py
b/lcm/ns_vnfs/views/vnf_views.py
index
d5388b4
..
c0264c3
100644
(file)
--- a/
lcm/ns_vnfs/views/vnf_views.py
+++ b/
lcm/ns_vnfs/views/vnf_views.py
@@
-52,7
+52,7
@@
class VnfGrantView(APIView):
if not resp_serializer.is_valid():
raise Exception(resp_serializer.errors)
- return Response(data=
resp_serializer.data
, status=status.HTTP_201_CREATED)
+ return Response(data=
grant_resp
, status=status.HTTP_201_CREATED)
except Exception as e:
logger.error(traceback.format_exc())
logger.error("Exception in VnfGrant: %s", e.args[0])