Fix removed public API
Re-add the Singleton class which were removed from the base services module after introducing the backend mechanism[1]. [1] 861e8d6677df63660268376fcf4a78b2838d5ad9 Closes-Bug: #2099955 Change-Id: I8849488df9b4db1d4af38b54444be4261b541e0c
This commit is contained in:
parent
8371e18677
commit
7a528035b8
@ -38,6 +38,7 @@ class EventletBackend(BaseBackend):
|
|||||||
"ServiceWrapper": service.ServiceWrapper,
|
"ServiceWrapper": service.ServiceWrapper,
|
||||||
"SignalHandler": service.SignalHandler,
|
"SignalHandler": service.SignalHandler,
|
||||||
"SignalExit": service.SignalExit,
|
"SignalExit": service.SignalExit,
|
||||||
|
"Singleton": service.Singleton,
|
||||||
|
|
||||||
# Looping call-related classes
|
# Looping call-related classes
|
||||||
"LoopingCallBase": loopingcall.LoopingCallBase,
|
"LoopingCallBase": loopingcall.LoopingCallBase,
|
||||||
|
@ -35,6 +35,7 @@ Services = get_component("Services")
|
|||||||
ServiceWrapper = get_component("ServiceWrapper")
|
ServiceWrapper = get_component("ServiceWrapper")
|
||||||
SignalHandler = get_component("SignalHandler")
|
SignalHandler = get_component("SignalHandler")
|
||||||
SignalExit = get_component("SignalExit")
|
SignalExit = get_component("SignalExit")
|
||||||
|
Singleton = get_component("Singleton")
|
||||||
|
|
||||||
# Function exports
|
# Function exports
|
||||||
launch = get_component("launch")
|
launch = get_component("launch")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user