diff --git a/nova/api/openstack/compute/contrib/services.py b/nova/api/openstack/compute/contrib/services.py index 6ec91e6b01..b87ce88c15 100644 --- a/nova/api/openstack/compute/contrib/services.py +++ b/nova/api/openstack/compute/contrib/services.py @@ -12,7 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo.config import cfg import webob.exc from nova.api.openstack import extensions @@ -25,8 +24,6 @@ from nova import servicegroup from nova import utils authorize = extensions.extension_authorizer('compute', 'services') -CONF = cfg.CONF -CONF.import_opt('service_down_time', 'nova.service') class ServicesIndexTemplate(xmlutil.TemplateBuilder): diff --git a/nova/api/openstack/compute/plugins/v3/services.py b/nova/api/openstack/compute/plugins/v3/services.py index f07966de1d..0379230db2 100644 --- a/nova/api/openstack/compute/plugins/v3/services.py +++ b/nova/api/openstack/compute/plugins/v3/services.py @@ -12,7 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo.config import cfg import webob.exc from nova.api.openstack import extensions @@ -25,8 +24,6 @@ from nova import utils ALIAS = "os-services" authorize = extensions.extension_authorizer('compute', 'v3:' + ALIAS) -CONF = cfg.CONF -CONF.import_opt('service_down_time', 'nova.service') class ServiceController(wsgi.Controller):