Browse Source

Merge "Add CONTEXT_READER to "get_reservations_for_resources""

changes/72/796272/1
Zuul 3 days ago
committed by Gerrit Code Review
parent
commit
96d02c9bed
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      neutron/db/quota/api.py

+ 1
- 0
neutron/db/quota/api.py View File

@ -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.


Loading…
Cancel
Save