1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Merge branch 'master' of git.opennebula.org:one

This commit is contained in:
Ruben S. Montero 2012-01-19 17:05:21 +01:00
commit 4b199756aa
2 changed files with 7 additions and 0 deletions

View File

@ -193,6 +193,10 @@ class SshStreamCommand < RemotesCommand
return self
end
def close
@stream.close
end
end

View File

@ -94,6 +94,9 @@ class VmmAction
def run(steps, info_on_success = nil)
result = execute_steps(steps)
@ssh_src.close if @ssh_src
@ssh_dst.close if @ssh_dst
#Prepare the info for the OpenNebula core
if DriverExecHelper.failed?(result)
info = @data[:failed_info]