]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix error code when L3 HA + DVR router is created or updated
authorAssaf Muller <amuller@redhat.com>
Mon, 12 Oct 2015 20:32:12 +0000 (16:32 -0400)
committerAssaf Muller <amuller@redhat.com>
Wed, 21 Oct 2015 14:23:50 +0000 (10:23 -0400)
Change-Id: I1b9a07aaf6957f062cd8632c7ca8b9d87c4afe20
Closes-Bug: #1505382

neutron/extensions/l3_ext_ha_mode.py

index a2a3b859dbcd998efd7d78c051b04f1ae4a30d88..ef60ba7bd0b2405f4d96283611101144ba937916 100644 (file)
@@ -29,7 +29,7 @@ EXTENDED_ATTRIBUTES_2_0 = {
 }
 
 
-class DistributedHARouterNotSupported(NotImplementedError):
+class DistributedHARouterNotSupported(exceptions.BadRequest):
     message = _("Currently distributed HA routers are "
                 "not supported.")