X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=instancehandler%2Fviews.py;fp=instancehandler%2Fviews.py;h=ea5528de745226e8099299102651dde8d9f0dffa;hb=a03da5e2aab552daa3e7ced70b3e90466c7c8b82;hp=a5118f639aba19338b8da9c7520002789e0c8cb0;hpb=e5476c0177144dccef48642129ad29c860d3cf7e;p=osm%2FLW-UI.git 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 @@ def list(request, project_id=None, type=None): 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