From c188299598e34952e3c402af4cb48a94e7b5cc1b Mon Sep 17 00:00:00 2001 From: reedip Date: Thu, 3 Mar 2016 17:24:41 +0900 Subject: [PATCH] Improve exception messages This patch improves some exception messages. TrivialFix Depends-On: I1b97fe8541c1c1325aaad739a30e5989c1fd806a Change-Id: I71d107bed3685e4c7ac9a4fbae7172941f1e10e3 --- neutron_taas/extensions/taas.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neutron_taas/extensions/taas.py b/neutron_taas/extensions/taas.py index 4b4b88b5..e2bafb49 100644 --- a/neutron_taas/extensions/taas.py +++ b/neutron_taas/extensions/taas.py @@ -50,15 +50,15 @@ class InvalidSourcePort(qexception.NotFound): class PortDoesNotBelongToTenant(qexception.NotAuthorized): - message = _("The port specified does not belong to the tenant") + message = _("The specified port does not belong to the tenant") class TapServiceNotBelongToTenant(qexception.NotAuthorized): - message = _("Tap Service specified does not belong to the tenant") + message = _("Specified Tap Service does not belong to the tenant") class TapServiceLimitReached(qexception.OverQuota): - message = _("Reached the upper limit of Tap Services Creatable") + message = _("Reached the maximum quota for Tap Services") direction_enum = [None, 'IN', 'OUT', 'BOTH']