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/09/23 00:45:02 UTC
[GitHub] [trafficcontrol] rimashah25 commented on a diff in pull request #7073: Adding the `asn` field to all `GET` endpoints that return a `server` object
rimashah25 commented on code in PR #7073:
URL: https://github.com/apache/trafficcontrol/pull/7073#discussion_r978185408
##########
traffic_ops/traffic_ops_golang/server/servers.go:
##########
@@ -1631,7 +1631,27 @@ func Update(w http.ResponseWriter, r *http.Request) {
api.HandleErr(w, r, tx, errCode, userErr, sysErr)
return
}
- api.WriteRespAlertObj(w, r, tc.SuccessLevel, "Server updated", srvr.ServerV40)
+ if inf.Version.Major >= 5 {
Review Comment:
Need to add `ORDER BY priority asc` in selectQuery in line 140.
--
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