1
0
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:
Ruben S. Montero 2021-02-17 11:28:30 +01:00
parent 8e5a915c6d
commit 8e490744c4
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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'