]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
remove unused methods in driver.Scheduler
authorKIYOHIRO ADACHI <adachi@mxs.nes.nec.co.jp>
Tue, 8 Oct 2013 07:28:25 +0000 (16:28 +0900)
committerKIYOHIRO ADACHI <adachi@mxs.nes.nec.co.jp>
Tue, 8 Oct 2013 07:38:30 +0000 (16:38 +0900)
commitf330eac22ad47901ccd3252ffd73c46d7157644e
tree99bc60f3fef5373290ee8bb82f3ad61ef6285c8a
parent338c826f2c8e3aceef831f006a0b0758dda4074e
remove unused methods in driver.Scheduler

cinder.scheduler.host_manager.HostManager doesn't have get_host_list()
and get_service_capabilities(). But we don't catch the AttributeError
by them. Therefore, get_host_list() and get_service_capabilities() in
cinder.scheduler.driver.Scheduler have not been used.

Also, get_host_list() and get_service_capabilities() in
cinder.scheduler.manager.SchedulerManager have not been used.

Change-Id: I402cf068612866649cc8645391eff38fca56f634
Closes-Bug: #1236723
cinder/scheduler/driver.py
cinder/scheduler/manager.py