dangogh closed pull request #2697: Added active filter on delivery services
with matching origin names
URL: https://github.com/apache/trafficcontrol/pull/2697
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForDomainList.pm
b/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForDomainList.pm
index bc14e24da..333045a4d 100644
--- a/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForDomainList.pm
+++ b/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForDomainList.pm
@@ -80,6 +80,8 @@ WHERE
deliveryservice_server.deliveryservice
FROM
deliveryservice_server)
+ AND deliveryservice.active = true
+
ORDER BY
ds_id,
re_type,
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services