'Gathers facts for services in logging namespace'

def facts_for_services(self, namespace):

    self.default_keys_for('services')
    servicelist = self.oc_command('get', 'services', namespace=namespace, add_options=['-l', LOGGING_SELECTOR])
    if (len(servicelist['items']) == 0):
        return
    for service in servicelist['items']:
        name = service['metadata']['name']
        comp = self.comp(name)
        if (comp is not None):
            self.add_facts_for(comp, 'services', name, dict())
