mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-04 19:39:38 +00:00
fix edit instance volume for running instances to prevent bus error
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user