M #-:Remove double updates in provision

This commit is contained in:
Ruben S. Montero committed 2021-02-17 11:28:30 +01:00
1 parent 8e5a915c6d
commit 8e490744c4
2 files changed
+2 -2

No files matched your search

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