Fix ServiceBase mapping when using threading backend

In [1] a new threading backend was added to oslo.service,
and a new class to component mapping was created. However,
the ServiceBase class should be mapped to service.ServiceBase
component instead of service.Service. This patch is fixing this
mapping for threading backend.

[1] https://review.opendev.org/c/openstack/oslo.service/+/945720

Change-Id: If906134113f1e2eca71c46d84f1f6068e3fe46d3
This commit is contained in:
Douglas Viroel
2025-06-09 16:12:18 -03:00
parent 226fe87b90
commit 0226960ca4

View File

@ -30,7 +30,7 @@ class ThreadingBackend(BaseBackend):
return {
# Service-related classes
"ServiceBase": service.Service,
"ServiceBase": service.ServiceBase,
"ServiceLauncher": service.ProcessLauncher,
"Launcher": service.ProcessLauncher,
"ProcessLauncher": service.ProcessLauncher,