1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

Live resize VM Memory activate. Redirection fix for resizing operations. Some typo & indent fix

This commit is contained in:
catborise 2019-11-20 11:41:50 +03:00
parent 228a0949d1
commit 60684cc7b1
2 changed files with 8 additions and 13 deletions

View file

@ -432,11 +432,7 @@
<small><input type="checkbox" class="js-custom__checkbox" /> {% trans "Custom value" %}</small>
</div>
</div>
{% ifequal status 5 %}
<button type="submit" class="btn btn-lg btn-success pull-right" name="resizevm_mem">{% trans "Resize" %}</button>
{% else %}
<button class="btn btn-lg btn-success pull-right disabled">{% trans "Resize" %}</button>
{% endifequal %}
</form>
{% else %}
{% trans "You don't have permission for resizing instance" %}
@ -978,7 +974,6 @@
</tr>
</form>
{% endfor %}
{% endfor %}
</tbody>
</table>

View file

@ -1052,7 +1052,7 @@ def get_host_instances(request, comp):
conn.close()
else:
raise libvirtError("Problem occured with {} - {}".format(comp.name, status))
raise libvirtError("Problem occurred with {} - {}".format(comp.name, status))
return all_host_vms