From: Sridhar Venkat Date: Thu, 8 Oct 2015 21:27:39 +0000 (-0400) Subject: Remove duplicate deprecation messages for quota_items option X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=578957f735806a468b0ac2f7584fb3b5b4e8bf80;p=openstack-build%2Fneutron-build.git Remove duplicate deprecation messages for quota_items option The option is already marked for deprecation using oslo.config mechanism, so there is no need to output more warnings here. Change-Id: I5db439a0b87c49a52f3f5c063d0fd90819f3e932 Closes-Bug: #1504312 --- diff --git a/neutron/quota/__init__.py b/neutron/quota/__init__.py index df54d9f91..22b7d07f8 100644 --- a/neutron/quota/__init__.py +++ b/neutron/quota/__init__.py @@ -317,11 +317,6 @@ def register_resources_from_config(): # This operation is now deprecated. All the neutron core and extended # resource for which quota limits are enforced explicitly register # themselves with the quota engine. - versionutils.report_deprecated_feature( - LOG, _LW("Registering resources to apply quota limits to using the " - "quota_items option is deprecated as of Liberty." - "Resource REST controllers should take care of registering " - "resources with the quota engine.")) for resource_item in (set(cfg.CONF.QUOTAS.quota_items) - set(default_quota_items)): resource_registry.register_resource_by_name(resource_item)