clean up
This commit is contained in:
@@ -394,5 +394,4 @@ class Resource(wsgi.Application):
|
||||
"""Find action-spefic method on controller and call it."""
|
||||
|
||||
controller_method = getattr(self.controller, action)
|
||||
print "DISPATCHING", self.controller, action
|
||||
return controller_method(req=request, **action_args)
|
||||
|
||||
@@ -1183,7 +1183,6 @@ class ComputeManager(manager.SchedulerDependentManager):
|
||||
:returns: See driver.update_available_resource()
|
||||
|
||||
"""
|
||||
print "UPDATE AVAILABLE"
|
||||
return self.driver.update_available_resource(context, self.host)
|
||||
|
||||
def pre_live_migration(self, context, instance_id, time=None):
|
||||
|
||||
@@ -30,7 +30,6 @@ from nova import log as logging
|
||||
from nova import rpc
|
||||
from nova import utils
|
||||
from nova.compute import power_state
|
||||
from nova.notifier import api as notifier_api
|
||||
|
||||
|
||||
FLAGS = flags.FLAGS
|
||||
@@ -49,10 +48,6 @@ class WillNotSchedule(exception.Error):
|
||||
pass
|
||||
|
||||
|
||||
def publisher_id(host=None):
|
||||
return notifier_api.publisher_id("scheduler", host)
|
||||
|
||||
|
||||
class Scheduler(object):
|
||||
"""The base class that all Scheduler clases should inherit from."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user