srijeet0406 commented on code in PR #7073:
URL: https://github.com/apache/trafficcontrol/pull/7073#discussion_r974586783
##########
traffic_ops/traffic_ops_golang/deliveryservice/eligible.go:
##########
@@ -96,6 +96,15 @@ func GetServersEligible(w http.ResponseWriter, r
*http.Request) {
api.WriteResp(w, r, v3ServerList)
return
}
+ if inf.Version.Major == 4 && inf.Version.Minor < 1 {
Review Comment:
I see the `4.1` structs being returned for apiv5 calls. This check is for
version 4.0 calls. All others(4.1 and 5.0) will default to 4.1. Are you seeing
something different?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]