Fix release name in deprecating message for agent status checks
There were several patches attempting to move threading after forking workers. By the time of development it was assumed to land in Mitaka but it eventually landed in Newton [1], deprecating some methods but leaving wrong name of cycle where methods should be removed. [1] I3a32a95489831f0d862930384309eefdc881d8f6 Change-Id: Ic30014c0f94da4b6dd0323663d98be3b1cdd77da
This commit is contained in:
parent
ebcc34caa0
commit
3d9d119932
|
@ -168,7 +168,7 @@ class AgentSchedulerDbMixin(agents_db.AgentDbMixin):
|
|||
self.add_worker(check_worker)
|
||||
|
||||
@debtcollector.removals.remove(
|
||||
message="This will be removed in the N cycle. "
|
||||
message="This will be removed in the O cycle. "
|
||||
"Please use 'add_agent_status_check_worker' instead."
|
||||
)
|
||||
def add_agent_status_check(self, function):
|
||||
|
@ -275,7 +275,7 @@ class DhcpAgentSchedulerDbMixin(dhcpagentscheduler
|
|||
network_scheduler = None
|
||||
|
||||
@debtcollector.removals.remove(
|
||||
message="This will be removed in the N cycle. "
|
||||
message="This will be removed in the O cycle. "
|
||||
"Please use 'add_periodic_dhcp_agent_status_check' instead."
|
||||
)
|
||||
def start_periodic_dhcp_agent_status_check(self):
|
||||
|
|
|
@ -79,7 +79,7 @@ class L3AgentSchedulerDbMixin(l3agentscheduler.L3AgentSchedulerPluginBase,
|
|||
router_scheduler = None
|
||||
|
||||
@debtcollector.removals.remove(
|
||||
message="This will be removed in the N cycle. "
|
||||
message="This will be removed in the O cycle. "
|
||||
"Please use 'add_periodic_l3_agent_status_check' instead."
|
||||
)
|
||||
def start_periodic_l3_agent_status_check(self):
|
||||
|
|
Loading…
Reference in New Issue