Fix wrong declaration in Scheduler's base driver
In Scheduler's base driver host_passes_filters method declaration does not match the actual method that we are using in the code -in filter_scheduler-. This patch syncs base method declaration with filter_scheduler's. Change-Id: I227648809f61ef3ca450457576e53a24e3628db4
This commit is contained in:
parent
58e554f381
commit
5880297b4f
@ -93,7 +93,8 @@ class Scheduler(object):
|
||||
host,
|
||||
capabilities)
|
||||
|
||||
def host_passes_filters(self, context, volume_id, host, filter_properties):
|
||||
def host_passes_filters(self, context, host, request_spec,
|
||||
filter_properties):
|
||||
"""Check if the specified host passes the filters."""
|
||||
raise NotImplementedError(_("Must implement host_passes_filters"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user