Clean StatsController unnecesary members
Removed from StatsController unused members identity_api, policy_api, token_api Closes-Bug: #1255990 Change-Id: I0edfe5ce270a2d88dc33273a05c9f13eb379c052
This commit is contained in:
parent
eef5dce469
commit
de59349250
@ -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…
x
Reference in New Issue
Block a user