Remove unused config "service_down_time" reference
service_down_time was used in service API and it's not used. It was removed at commit I1e7e8f7519ec627b96736f74ee7123d101973544. Change-Id: Ibf9c7082e148a3253051e5d60eacc4d891420ae7
This commit is contained in:
@@ -12,7 +12,6 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
|
||||||
import webob.exc
|
import webob.exc
|
||||||
|
|
||||||
from nova.api.openstack import extensions
|
from nova.api.openstack import extensions
|
||||||
@@ -25,8 +24,6 @@ from nova import servicegroup
|
|||||||
from nova import utils
|
from nova import utils
|
||||||
|
|
||||||
authorize = extensions.extension_authorizer('compute', 'services')
|
authorize = extensions.extension_authorizer('compute', 'services')
|
||||||
CONF = cfg.CONF
|
|
||||||
CONF.import_opt('service_down_time', 'nova.service')
|
|
||||||
|
|
||||||
|
|
||||||
class ServicesIndexTemplate(xmlutil.TemplateBuilder):
|
class ServicesIndexTemplate(xmlutil.TemplateBuilder):
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
|
||||||
import webob.exc
|
import webob.exc
|
||||||
|
|
||||||
from nova.api.openstack import extensions
|
from nova.api.openstack import extensions
|
||||||
@@ -25,8 +24,6 @@ from nova import utils
|
|||||||
|
|
||||||
ALIAS = "os-services"
|
ALIAS = "os-services"
|
||||||
authorize = extensions.extension_authorizer('compute', 'v3:' + ALIAS)
|
authorize = extensions.extension_authorizer('compute', 'v3:' + ALIAS)
|
||||||
CONF = cfg.CONF
|
|
||||||
CONF.import_opt('service_down_time', 'nova.service')
|
|
||||||
|
|
||||||
|
|
||||||
class ServiceController(wsgi.Controller):
|
class ServiceController(wsgi.Controller):
|
||||||
|
|||||||
Reference in New Issue
Block a user