mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
fix edit instance volume for running instances to prevent bus error
This commit is contained in:
parent
768b49ea88
commit
646eae59a2
3 changed files with 3 additions and 3 deletions
|
|
@ -596,8 +596,8 @@ def edit_volume(request, pk):
|
|||
shareable = bool(request.POST.get("vol_shareable", False))
|
||||
readonly = bool(request.POST.get("vol_readonly", False))
|
||||
disk_type = request.POST.get("vol_type", "")
|
||||
new_bus = request.POST.get("vol_bus", "")
|
||||
bus = request.POST.get("vol_bus_old", "")
|
||||
new_bus = request.POST.get("vol_bus", bus)
|
||||
serial = request.POST.get("vol_serial", "")
|
||||
format = request.POST.get("vol_format", "")
|
||||
cache = request.POST.get("vol_cache", app_settings.INSTANCE_VOLUME_DEFAULT_CACHE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue