1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-25 06:03:36 +03:00

M #-: subscribe to service changes

This commit is contained in:
Alejandro Huertas 2020-05-18 18:42:28 +02:00
parent ccf048cfb8
commit 9ea589abd0
No known key found for this signature in database
GPG Key ID: 3044AF06BE405104

View File

@ -161,7 +161,7 @@ class ServiceWD
# @param client [OpenNebula::Client] Client to make API calls # @param client [OpenNebula::Client] Client to make API calls
# @param service_pool [ServicePool] All services to check # @param service_pool [ServicePool] All services to check
def check_roles_state(client, service_pool) def check_roles_state(client, service_pool)
service_pool.each do |service| service_pool.each do |service|
service.info service.info
service.roles.each do |name, role| service.roles.each do |name, role|