Remove unused param of CertificatesController
network API is not used , remove it. TrivialFix Change-Id: Iaeb691de9e2b99bc81a84a6babd52d1de6ca8c76
This commit is contained in:
parent
7bc2171869
commit
7f57792630
|
@ -20,7 +20,6 @@ from nova.api.openstack import wsgi
|
|||
import nova.cert.rpcapi
|
||||
from nova import exception
|
||||
from nova.i18n import _
|
||||
from nova import network
|
||||
|
||||
ALIAS = "os-certificates"
|
||||
authorize = extensions.os_compute_authorizer(ALIAS)
|
||||
|
@ -37,7 +36,6 @@ class CertificatesController(wsgi.Controller):
|
|||
"""The x509 Certificates API controller for the OpenStack API."""
|
||||
|
||||
def __init__(self):
|
||||
self.network_api = network.API()
|
||||
self.cert_rpcapi = nova.cert.rpcapi.CertAPI()
|
||||
super(CertificatesController, self).__init__()
|
||||
|
||||
|
|
Loading…
Reference in New Issue