You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2018/08/22 15:38:29 UTC

[trafficcontrol] branch master updated: Added active filter on delivery services with matching origin names the configuration

This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 240a569  Added active filter on delivery services with matching origin names the configuration
240a569 is described below

commit 240a569d3721159fb0224cda9771b5981ede0a8d
Author: Dewayne Richardson <de...@apache.org>
AuthorDate: Thu Aug 16 10:42:31 2018 -0600

    Added active filter on delivery services with matching origin names the configuration
---
 traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForDomainList.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForDomainList.pm b/traffic_ops/app/lib/Schema/Result/DeliveryServiceInfoForDomainList.pm
index bc14e24..333045a 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,