srijeet0406 commented on a change in pull request #6675:
URL: https://github.com/apache/trafficcontrol/pull/6675#discussion_r830244120
##########
File path: traffic_ops/traffic_ops_golang/deliveryservice/servers/servers.go
##########
@@ -957,9 +957,12 @@ func (dss *TODSSDeliveryService) Read(h http.Header,
useIMS bool) ([]interface{}
if version.Major > 3 && version.Minor >= 0 {
ds = ds.RemoveLD1AndLD2()
returnable = append(returnable, ds)
- } else {
+ } else if version.Major > 2 {
dsV3 := ds.DowngradeToV3()
returnable = append(returnable, dsV3)
Review comment:
yeah missed your previous comment, fixing this now
--
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]