mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 15:45:23 +00:00
fix redirection for network connection error
This commit is contained in:
parent
caf00bd4f9
commit
0fdc2dae33
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ def network(request, compute_id, pool):
|
||||||
xml = conn._XMLDesc(0)
|
xml = conn._XMLDesc(0)
|
||||||
except libvirtError as lib_err:
|
except libvirtError as lib_err:
|
||||||
error_messages.append(lib_err)
|
error_messages.append(lib_err)
|
||||||
|
return HttpResponseRedirect(reverse('networks', args=compute_id))
|
||||||
|
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
if 'start' in request.POST:
|
if 'start' in request.POST:
|
||||||
|
|
Loading…
Reference in a new issue