Merge "Add CONTEXT_WRITER decorator to delete_floatingip_agent_gateway_port"

This commit is contained in:
Zuul 2021-06-22 00:08:40 +00:00 committed by Gerrit Code Review
commit 6866926e41
1 changed files with 1 additions and 0 deletions

View File

@ -396,6 +396,7 @@ class DVRResourceOperationHandler(object):
except n_exc.ObjectNotFound:
pass
@db_api.CONTEXT_WRITER
def delete_floatingip_agent_gateway_port(self, context, host_id,
ext_net_id):
"""Function to delete FIP gateway port with given ext_net_id."""