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.common import wsgi
|
||||||
from keystone import config
|
from keystone import config
|
||||||
from keystone import exception
|
from keystone import exception
|
||||||
from keystone import identity
|
|
||||||
from keystone.openstack.common import log
|
from keystone.openstack.common import log
|
||||||
from keystone.openstack.common import versionutils
|
from keystone.openstack.common import versionutils
|
||||||
from keystone import policy
|
|
||||||
from keystone import token
|
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
@ -93,10 +90,7 @@ class StatsExtension(wsgi.ExtensionRouter):
|
|||||||
|
|
||||||
class StatsController(wsgi.Application):
|
class StatsController(wsgi.Application):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.identity_api = identity.Manager()
|
|
||||||
self.policy_api = policy.Manager()
|
|
||||||
self.stats_api = Manager()
|
self.stats_api = Manager()
|
||||||
self.token_api = token.Manager()
|
|
||||||
super(StatsController, self).__init__()
|
super(StatsController, self).__init__()
|
||||||
|
|
||||||
def get_stats(self, context):
|
def get_stats(self, context):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user