Merge "Add CONTEXT_WRITER to _get_default_fwg_id"

This commit is contained in:
Zuul 2023-02-16 00:41:02 +00:00 committed by Gerrit Code Review
commit a88c4922c9
1 changed files with 1 additions and 0 deletions

View File

@ -856,6 +856,7 @@ class FirewallPluginDb(object):
firewall_group_id=firewall_group_id).delete()
return
@db_api.CONTEXT_WRITER
def _get_default_fwg_id(self, context, tenant_id):
"""Returns an id of default firewall group for given tenant or None"""
default_fwg = model_query.query_with_hooks(