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:
parent
26156ee7e1
commit
95722c75ff
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user