1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

Bug: Fixes update for resources

This commit is contained in:
Ruben S. Montero 2012-01-12 17:28:46 +01:00
parent 26156ee7e1
commit 95722c75ff

View File

@ -385,6 +385,13 @@ EOT
tmp = Tempfile.new(id.to_s)
path = tmp.path
rc = resource.info
if OpenNebula.is_error?(rc)
puts rc.message
exit -1
end
tmp << resource.template_str
tmp.flush