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


##########
traffic_ops/traffic_ops_golang/deliveryservice/deliveryservices.go:
##########
@@ -614,7 +614,7 @@ func (ds *TODeliveryService) Read(h http.Header, useIMS 
bool) ([]interface{}, er
        for _, ds := range dses {
                switch {
                // NOTE: it's required to handle minor version cases in a 
descending >= manner
-               case version.Major >= 4 && version.Minor >= 1:
+               case version.Major > 4 || (version.Major == 4 && version.Minor 
>= 1):

Review Comment:
   Noted; though I don't want to mess with that any more; I need to rebase the 
DS Active flag changes every time it changes.



-- 
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-unsubscr...@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to