Merge "Add CONTEXT_WRITER to _get_default_fwg_id" into stable/zed

This commit is contained in:
Zuul 2023-02-16 16:13:01 +00:00 committed by Gerrit Code Review
commit 7c860a0c74
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(