Fix broken SimpleScheduler.schedule_run_instance()

* The fix for 1037829 broke SimpleScheduler by unnecessarily
   including the 'self' parameter in the invocation of the parent's
   schedule_run_instance().  This change removes the 'self' parameter.
 * Addresses bug 1041385

Change-Id: I95b28fce9b17b6c1d9ca2f19cd83608cde8479ee
This commit is contained in:
Maru Newby 2012-08-24 14:55:23 -07:00
parent 0a0e4f60bd
commit 9e05e9177d

View File

@ -51,7 +51,7 @@ class SimpleScheduler(chance.ChanceScheduler):
deprecated.warn(_('SimpleScheduler now only covers volume scheduling '
'and is deprecated in Folsom. Non-volume functionality in '
'SimpleScheduler has been replaced by FilterScheduler'))
super(SimpleScheduler, self).schedule_run_instance(self, context,
super(SimpleScheduler, self).schedule_run_instance(context,
request_spec, reservations, *_args, **_kwargs)
def schedule_create_volume(self, context, volume_id, *_args, **_kwargs):