## 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 Bug Report affects these Traffic Control components:
Current behavior:
/servers/detailsrequires one of the query string parametershostNameorphysLocationIDbe specified, but if neither are, the error message says:{ "alerts": [ { "text": "Missing required fields: 'hostname' or 'physLocationID'", "level": "error" } ] }Expected behavior:
The error message should name the actual required query string parameter:
hostNamenothostname.Steps to reproduce:
toget -kp '/servers/details?hostname=anything'