Merge "DB base plugin: correct typo id to subnet_id."

This commit is contained in:
Jenkins 2016-06-02 13:32:34 +00:00 committed by Gerrit Code Review
commit 96a195c064

View File

@ -830,7 +830,7 @@ class NeutronDbPluginV2(db_base_plugin_common.DbBasePluginCommon,
if allocs:
LOG.debug("Subnet %s still has internal router ports, "
"cannot delete", subnet_id)
raise exc.SubnetInUse(subnet_id=id)
raise exc.SubnetInUse(subnet_id=subnet_id)
def delete_subnet(self, context, id):
with context.session.begin(subtransactions=True):