You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/04/27 23:59:42 UTC

[GitHub] [trafficcontrol] ocket8888 opened a new issue, #6800: Incorrect error message from /servers/details when no query string parameter given

ocket8888 opened a new issue, #6800:
URL: https://github.com/apache/trafficcontrol/issues/6800

   ## This Bug Report affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   `/servers/details` requires one of the query string parameters `hostName` or `physLocationID` be specified, but if neither are, the error message says:
   ```json
   {
   	"alerts": [
   		{
   			"text": "Missing required fields: 'hostname' or 'physLocationID'",
   			"level": "error"
   		}
   	]
   }
   ```
   
   ## Expected behavior:
   The error message should name the actual required query string parameter: `hostName` not `hostname`.
   
   ## Steps to reproduce:
   1. `toget -kp '/servers/details?hostname=anything'`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficcontrol] ocket8888 closed issue #6800: Incorrect error message from /servers/details when no query string parameter given

Posted by GitBox <gi...@apache.org>.
ocket8888 closed issue #6800: Incorrect error message from /servers/details when no query string parameter given
URL: https://github.com/apache/trafficcontrol/issues/6800


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org