1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #1797: change ruby oca reset method

This commit is contained in:
Javi Fontan 2013-03-14 19:00:30 +01:00
parent 9dd1baacee
commit a7396fdf61

View File

@ -219,7 +219,10 @@ module OpenNebula
action(hard ? 'reboot-hard' : 'reboot')
end
alias_method :reset, :reboot
# @deprecated use {#reboot}
def reset
reboot(true)
end
# Cancels a running VM
def cancel