diff --git a/neutron/db/quota/api.py b/neutron/db/quota/api.py index 2df9f052e08..89ef9ae7832 100644 --- a/neutron/db/quota/api.py +++ b/neutron/db/quota/api.py @@ -214,6 +214,7 @@ def remove_reservation(context, reservation_id, set_dirty=False): @db_api.retry_if_session_inactive() +@db_api.CONTEXT_READER def get_reservations_for_resources(context, tenant_id, resources, expired=False): """Retrieve total amount of reservations for specified resources.