VM#invoke_callback now returns an array of the results of the actions which implemented the callback.

This commit is contained in:
Mitchell Hashimoto 2010-02-13 11:20:24 -08:00 committed by John Bender
parent 063ea60d40
commit 0ceee33a51
1 changed files with 1 additions and 2 deletions

View File

@ -114,10 +114,9 @@ error
@actions.each do |action|
results << action.send(name, *args) if action.respond_to?(name)
end
results
end
def destroy
if @vm.running?
logger.info "VM is running. Forcing immediate shutdown..."