From 5cf7076ca1a418bb0c791e9aeaf267eb6801dc9e Mon Sep 17 00:00:00 2001 From: Anatoliy Guskov Date: Thu, 2 Jul 2015 08:11:05 +0300 Subject: [PATCH] Update views.py --- instances/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances/views.py b/instances/views.py index 5c85fca..c57797c 100644 --- a/instances/views.py +++ b/instances/views.py @@ -468,7 +468,7 @@ def instance(request, compute_id, vname): except libvirtError as lib_err: error_messages.append(lib_err.message) - addlogmsg(request.user.username, instance.name, lib_err.message) + addlogmsg(request.user.username, vname, lib_err.message) return render(request, 'instance.html', locals())