1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

fix detach cdrom problem and cd-rom list's layout problem

This commit is contained in:
catborise 2020-06-05 09:29:26 +03:00
parent 509c57d8ab
commit 07be61a557
2 changed files with 31 additions and 32 deletions

View file

@ -649,7 +649,6 @@ def instance(request, compute_id, vname):
if 'detach_cdrom' in request.POST and allow_admin_or_not_template:
dev = request.POST.get('detach_cdrom', '')
path = request.POST.get('path', '')
conn.detach_disk(dev)
msg = _('Detach CD-ROM: ' + dev)
addlogmsg(request.user.username, instance.name, msg)