ocket8888 commented on code in PR #7224:
URL: https://github.com/apache/trafficcontrol/pull/7224#discussion_r1048764650
##########
traffic_ops/traffic_ops_golang/server/servers.go:
##########
@@ -825,10 +826,20 @@ func getServers(h http.Header, params map[string]string,
tx *sqlx.Tx, user *auth
}
var joinSubQuery string
- if err =
tx.QueryRow(deliveryservice.HasRequiredCapabilitiesQuery,
dsID).Scan(&dsHasRequiredCapabilities); err != nil {
+ rows, err :=
tx.Query(deliveryservice.GetRequiredCapabilitiesQuery, dsID)
Review Comment:
Oh, I didn't see that change in `deliveryservices.go`, so I guess it must've
been in a different file. My bad.
--
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]