mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 15:13:33 +00:00
fix redirection for network connection error
This commit is contained in:
@@ -94,6 +94,7 @@ def network(request, compute_id, pool):
|
||||
xml = conn._XMLDesc(0)
|
||||
except libvirtError as lib_err:
|
||||
error_messages.append(lib_err)
|
||||
return HttpResponseRedirect(reverse('networks', args=compute_id))
|
||||
|
||||
if request.method == 'POST':
|
||||
if 'start' in request.POST:
|
||||
|
||||
Reference in New Issue
Block a user