Merge "filter_scheduler: Remove schedule() method"
This commit is contained in:
commit
e3f8b84bf9
|
@ -42,10 +42,6 @@ class FilterScheduler(driver.Scheduler):
|
||||||
self.options = scheduler_options.SchedulerOptions()
|
self.options = scheduler_options.SchedulerOptions()
|
||||||
self.max_attempts = self._max_attempts()
|
self.max_attempts = self._max_attempts()
|
||||||
|
|
||||||
def schedule(self, context, topic, method, *args, **kwargs):
|
|
||||||
"""Schedule contract that returns best-suited host for this request."""
|
|
||||||
self._schedule(context, topic, *args, **kwargs)
|
|
||||||
|
|
||||||
def _get_configuration_options(self):
|
def _get_configuration_options(self):
|
||||||
"""Fetch options dictionary. Broken out for testing."""
|
"""Fetch options dictionary. Broken out for testing."""
|
||||||
return self.options.get_configuration()
|
return self.options.get_configuration()
|
||||||
|
|
Loading…
Reference in New Issue