1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 23:55:24 +00:00

Update views.py

This commit is contained in:
Anatoliy Guskov 2015-07-02 08:11:05 +03:00
parent 74ccf5e3b7
commit 5cf7076ca1

View file

@ -468,7 +468,7 @@ def instance(request, compute_id, vname):
except libvirtError as lib_err: except libvirtError as lib_err:
error_messages.append(lib_err.message) 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()) return render(request, 'instance.html', locals())