mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #-:Remove double updates in provision
This commit is contained in:
parent
8e5a915c6d
commit
8e490744c4
@ -173,8 +173,6 @@ module OneProvision
|
||||
@body['tf'] = {} unless @body['tf']
|
||||
@body['tf']['state'] = state
|
||||
@body['tf']['conf'] = conf
|
||||
|
||||
update
|
||||
end
|
||||
|
||||
# Get OpenNebula information for specific objects
|
||||
|
@ -157,6 +157,8 @@ module OneProvision
|
||||
|
||||
provision.add_tf(state, conf)
|
||||
|
||||
provision.update
|
||||
|
||||
STDERR.puts '[ERROR] Hosts provision failed!!! ' \
|
||||
'Please log in to your console to delete ' \
|
||||
'left resources'
|
||||
|
Loading…
x
Reference in New Issue
Block a user