Browse Source

Fix TypeError for BgpSpeakerRescheduleError

Inherit Conflicts to be consistent with RouterReschedulingFailed.

Closes-Bug: #1738983
Change-Id: If2d6151c161d1b0848ecb28bdb823676249e1221
changes/00/550000/1
YAMAMOTO Takashi 4 years ago
parent
commit
39d9d0de9e
  1. 2
      neutron_dynamic_routing/extensions/bgp_dragentscheduler.py

2
neutron_dynamic_routing/extensions/bgp_dragentscheduler.py

@ -54,7 +54,7 @@ class DrAgentAssociationError(n_exc.Conflict):
"to a BGP speaker.")
class BgpSpeakerRescheduleError(n_exc.Invalid):
class BgpSpeakerRescheduleError(n_exc.Conflict):
message = _("Failed rescheduling %(bgp_speaker_id)s: "
"%(failure_reason)s.")

Loading…
Cancel
Save