Fix TypeError for BgpSpeakerRescheduleError

Inherit Conflicts to be consistent with RouterReschedulingFailed.

Closes-Bug: #1738983
Change-Id: If2d6151c161d1b0848ecb28bdb823676249e1221
This commit is contained in:
YAMAMOTO Takashi 2018-03-06 19:14:38 +09:00
parent c7849e1434
commit 39d9d0de9e
1 changed files with 1 additions and 1 deletions

View File

@ -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.")