You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/03/18 18:12:51 UTC
[GitHub] [trafficcontrol] srijeet0406 commented on a change in pull request #6675: Fix Geo Limit Countries in versions < 4
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: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org