Merge "Clean StatsController unnecesary members"
This commit is contained in:
commit
29ffdcff49
@ -17,11 +17,8 @@ from keystone.common import manager
|
||||
from keystone.common import wsgi
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone import identity
|
||||
from keystone.openstack.common import log
|
||||
from keystone.openstack.common import versionutils
|
||||
from keystone import policy
|
||||
from keystone import token
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
@ -93,10 +90,7 @@ class StatsExtension(wsgi.ExtensionRouter):
|
||||
|
||||
class StatsController(wsgi.Application):
|
||||
def __init__(self):
|
||||
self.identity_api = identity.Manager()
|
||||
self.policy_api = policy.Manager()
|
||||
self.stats_api = Manager()
|
||||
self.token_api = token.Manager()
|
||||
super(StatsController, self).__init__()
|
||||
|
||||
def get_stats(self, context):
|
||||
|
Loading…
Reference in New Issue
Block a user