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

Jenkins 2016-06-02 13:32:34 +00:00 committed by Gerrit Code Review
commit 96a195c064
1 changed files with 1 additions and 1 deletions

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):