Skip to content

Commit

Permalink
Fix missing subnet_id kwarg in vnc_openstack
Browse files Browse the repository at this point in the history
This patch fixes "TypeError: _raise_contrail_exception() takes
exactly 2 arguments (3 given)" which causes error 500.

Closes-Bug: #1794471
Change-Id: I34e32cbfa7896c6213dae4a612bda3eb27dc80c6
  • Loading branch information
pawelzny committed Sep 26, 2018
1 parent 28dc8c5 commit 2a12a6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3328,7 +3328,7 @@ def subnet_delete(self, subnet_id):
subnet_key = self._subnet_vnc_read_mapping(id=subnet_id)
if not subnet_key:
self._raise_contrail_exception('SubnetNotFound',
subnet_id)
subnet_id=subnet_id)
net_id = subnet_key.split()[0]

net_obj = self._network_read(net_id)
Expand Down

0 comments on commit 2a12a6c

Please sign in to comment.