VM#invoke_callback now returns an array of the results of the actions which implemented the callback.
This commit is contained in:
parent
063ea60d40
commit
0ceee33a51
|
@ -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..."
|
||||
|
|
Loading…
Reference in New Issue