mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 15:45:23 +00:00
Fixed powercycle on instances page
This commit is contained in:
parent
f5ce432c56
commit
7bb6782037
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def instances(request):
|
|||
if 'powercycle' in request.POST:
|
||||
msg = _("Power Cycle")
|
||||
conn.force_shutdown(name)
|
||||
conn.start()
|
||||
conn.start(name)
|
||||
addlogmsg(request.user.id, instance.id, msg)
|
||||
return HttpResponseRedirect(request.get_full_path())
|
||||
if 'poweroff' in request.POST:
|
||||
|
|
Loading…
Reference in a new issue