Error message 'Invalid protocol %(protocol)s for port range, only ...' is difficult to understand
Bug #1815478 reported by
Andreas Karis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Andreas Karis |
Bug Description
Error message 'Invalid protocol %(protocol)s for port range, only ...' is difficult to understand.
~~~
43 class SecurityGroupIn
44 message = _("Invalid protocol %(protocol)s for port range, only "
45 "supported for TCP, UDP, UDPLITE, SCTP and DCCP.")
~~~
Thinking about it logically, the port range is invalid for the protocol, not the other way around.
The error message would be better as:
~~~
Invalid port range specified for protocol %(protocol)s. Do not specify a port range. Port ranges are only supported for TCP, UDP, UDPLITE, SCTP and DCCP.
~~~
Changed in neutron: | |
assignee: | nobody → Andreas Karis (akaris) |
Changed in neutron: | |
importance: | Undecided → Low |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/636174
Review: https:/