sdn controllers: list, create, show
Change-Id: I2d801be01ae1e56a2a44ca6f8ea32c7585e4d381
Signed-off-by: lombardof <flombardo@cnit.it>
diff --git a/instancehandler/views.py b/instancehandler/views.py
index a5118f6..ea5528d 100644
--- a/instancehandler/views.py
+++ b/instancehandler/views.py
@@ -30,7 +30,9 @@
elif type == 'vnf':
result = client.vnf_list()
- return __response_handler(request, {'instances': result, 'type': type, 'project_id': project_id}, 'instance_list.html')
+ result = {'instances': result, 'type': type, 'project_id': project_id}
+
+ return __response_handler(request, result, 'instance_list.html')
@login_required