Merge "filter_scheduler: Remove schedule() method"

This commit is contained in:
Zuul 2021-05-01 06:43:45 +00:00 committed by Gerrit Code Review
commit e3f8b84bf9
1 changed files with 0 additions and 4 deletions

View File

@ -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()