Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
logger.warning("Invalid target %s - should be 'service:target'" % (t))
continue
# skip targets with invalid services
if not service in service_plugins:
logger.error("Invalid configuration: topic '%s' points to non-existing service '%s'" % (topic, service))
continue
sendtos = None
if target is None:
sendtos = context.get_service_targets(service)
else:
sendtos = [target]
for sendto in sendtos:
job = Job(1, service, section, topic, payload, data, sendto)
q_in.put(job)