mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 13:16:48 +09:00
M #-:Remove double updates in provision
This commit is contained in:
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'
|
||||
|
||||
Reference in new issue
Block a user