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


##########
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:
   Well what I'm saying is that since they don't use v5 yet, they can just 
change the parameter they send to be TRAFFIC_MONITOR instead of RASCAL at that 
point.



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