filter_scheduler: Remove schedule() method
This is never actually called, only _schedule() or schedule_create_volume() are used. It also doesn't appear to work since it passes the topic as the second parameter to _schedule(), which should be a request_spec. Change-Id: I6befa027626dc468eeda8a8f10af0be10caf661a
This commit is contained in:
parent
ea7ae8e655
commit
b64fef783f
|
@ -42,10 +42,6 @@ class FilterScheduler(driver.Scheduler):
|
|||
self.options = scheduler_options.SchedulerOptions()
|
||||
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):
|
||||
"""Fetch options dictionary. Broken out for testing."""
|
||||
return self.options.get_configuration()
|
||||
|
|
Loading…
Reference in New Issue