Correctly label port as SubPort in SubPortNotFound

The SubPortNotFound exception gets the port id of the subport that was
not found. This is now correctly labeled as SubPort, not as parent port
anymore.

Change-Id: I6e33ff4a7e0cb7864535a0905b5dc197a0aa8a5d
This commit is contained in:
Sebastian Lohff
2021-04-29 11:06:07 +02:00
committed by Rodolfo Alonso
parent ebbf51c2b3
commit 31c0ef9dbe

View File

@@ -27,7 +27,7 @@ class TrunkNotFound(n_exc.NotFound):
class SubPortNotFound(n_exc.NotFound):
message = _("SubPort on trunk %(trunk_id)s with parent port %(port_id)s "
message = _("SubPort %(port_id)s on trunk %(trunk_id)s "
"could not be found.")