Remove plural param to QUOTAS.count

This parameter is no longer in the signature of the count function.

Change-Id: I686f3e3ed1095fdb48dd0515b58b159594f64f9e
This commit is contained in:
Kevin Benton 2015-09-15 10:24:19 -07:00
parent 4e4a6cff5d
commit 2dfa49db13
1 changed files with 0 additions and 2 deletions

View File

@ -14,7 +14,6 @@
# under the License.
from neutron.common import exceptions
from neutron.pecan_wsgi.hooks import attribute_population
from neutron import quota
from oslo_log import log as logging
@ -38,7 +37,6 @@ class QuotaEnforcementHook(hooks.PecanHook):
try:
count = quota.QUOTAS.count(state.request.context, rtype,
state.request.plugin,
attribute_population._plural(rtype),
tenant_id)
delta = deltas.get(tenant_id, 0) + 1
kwargs = {rtype: count + delta}