Skip to content

Commit

Permalink
Merge "raise subnet_not_found if we dont find any ipam refs"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Dec 15, 2015
2 parents 375239f + 8c818af commit e3b17a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/vnc_openstack/vnc_openstack/neutron_plugin_db.py
Expand Up @@ -2566,7 +2566,8 @@ def subnet_read(self, subnet_id):
subnet_vnc, net_obj, ipam_ref['to'])
return ret_subnet_q

return {}
self._raise_contrail_exception('SubnetNotFound',
subnet_id=subnet_id)
#end subnet_read

@wait_for_api_server_connection
Expand Down

0 comments on commit e3b17a2

Please sign in to comment.