Fix exception message for DuplicateBgpPeerIpException
Exception message was located under '_message' field of the exception object, instead of the expected 'message' field. TrivialFix Change-Id: I4243bc7d08973d4753141ce1047913af4d16c525
This commit is contained in:
parent
0d97dfbe6f
commit
64699728bd
|
@ -150,7 +150,7 @@ class NetworkNotBound(n_exc.NotFound):
|
||||||
|
|
||||||
|
|
||||||
class DuplicateBgpPeerIpException(n_exc.Conflict):
|
class DuplicateBgpPeerIpException(n_exc.Conflict):
|
||||||
_message = _("BGP Speaker %(bgp_speaker_id)s is already configured to "
|
message = _("BGP Speaker %(bgp_speaker_id)s is already configured to "
|
||||||
"peer with a BGP Peer at %(peer_ip)s, it cannot peer with "
|
"peer with a BGP Peer at %(peer_ip)s, it cannot peer with "
|
||||||
"BGP Peer %(bgp_peer_id)s.")
|
"BGP Peer %(bgp_peer_id)s.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue