1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-12 09:17:41 +03:00

B OpenNebula/one#5526: Fix oneflow recover (#1428)

(cherry picked from commit f18fb4cf537e62f8867274dd417c106c3e76d90c)
This commit is contained in:
Daniel Clavijo Coca 2021-09-02 03:58:04 -05:00 committed by Tino Vazquez
parent 84f7c8a2eb
commit d87c885795
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -1109,18 +1109,21 @@ class ServiceLCM
nodes, up = role.recover_scale(service.report_ready?)
if up
action = :wait_scaleup
@event_manager.trigger_action(:wait_scaleup,
service.id,
client,
service.id,
name,
nodes,
service.report_ready?)
else
action = :wait_scaledown
@event_manager.trigger_action(:wait_scaledown,
service.id,
client,
service.id,
name,
nodes)
end
@event_manager.trigger_action(action,
service.id,
client,
service.id,
name,
nodes,
service.report_ready?)
end
end