921abe7 service: handle empty list of services to update their state

Authored and Committed by abbra 3 years ago
    service: handle empty list of services to update their state
    
    When there are no services in LDAP that have specified states, we don't
    need to update their state.
    
    Fixes: https://pagure.io/freeipa/issue/8623
    
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+12 -6