zrhoffman commented on a change in pull request #4966:
URL: https://github.com/apache/trafficcontrol/pull/4966#discussion_r482517408
##########
File path: traffic_ops/traffic_ops_golang/server/servers.go
##########
@@ -650,10 +695,27 @@ func getServers(h http.Header, params map[string]string,
tx *sqlx.Tx, user *auth
if userErr != nil || sysErr != nil {
return nil, 0, errors.New("Forbidden"), sysErr,
http.StatusForbidden, nil
}
+
+ var joinSubQuery string
+ if version.Major >= 3 {
+ const hasRequiredCapabilitiesQuery = `
+SELECT EXISTS(
Review comment:
Moved the query to the `deliveryservice` package in 51446fa30, which
should also fix code folding.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]