zrhoffman commented on code in PR #6945:
URL: https://github.com/apache/trafficcontrol/pull/6945#discussion_r917027888


##########
traffic_ops/traffic_ops_golang/deliveryservice/deliveryservices.go:
##########
@@ -608,43 +580,15 @@ func (ds *TODeliveryService) Read(h http.Header, useIMS 
bool) ([]interface{}, er
                // NOTE: it's required to handle minor version cases in a 
descending >= manner
                case version.Major > 3:
                        returnable = append(returnable, ds.RemoveLD1AndLD2())
-               case version.Major > 2 && version.Minor >= 1:
+               case version.Major == 3 && version.Minor >= 1:
                        returnable = append(returnable, ds.DowngradeToV31())
-               case version.Major > 2:
-                       returnable = append(returnable, 
ds.DowngradeToV31().DeliveryServiceV30)

Review Comment:
   Oops! Re-added but with a `3` in 9e4ad30373.



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