rimashah25 commented on code in PR #7068:
URL: https://github.com/apache/trafficcontrol/pull/7068#discussion_r994210632


##########
traffic_ops/traffic_ops_golang/server/servers.go:
##########
@@ -856,6 +856,12 @@ func getServers(h http.Header, params map[string]string, 
tx *sqlx.Tx, user *auth
 `
        }
 
+       if version.Major >= 5 {
+               if params["type"] == "RASCAL" {
+                       params["type"] = "TRAFFIC_MONITOR"
+               }
+       }
+

Review Comment:
   So, this change works, right? Since for v5 it is where I am returning 
`TRAFFIC_MONITOR`



-- 
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]

Reply via email to