You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/03/09 19:09:24 UTC
[16/44] incubator-trafficcontrol git commit: Use CDN for
deliveryservice list
Use CDN for deliveryservice list
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/5bf0ae78
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/5bf0ae78
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/5bf0ae78
Branch: refs/heads/master
Commit: 5bf0ae78aee2781693c6d2fb09dba8846eea590c
Parents: a24dd9d
Author: Jan van Doorn <jv...@apache.org>
Authored: Sat Feb 11 23:07:15 2017 +0000
Committer: Jan van Doorn <jv...@apache.org>
Committed: Fri Feb 17 17:49:10 2017 +0000
----------------------------------------------------------------------
traffic_ops/app/lib/UI/Topology.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5bf0ae78/traffic_ops/app/lib/UI/Topology.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/Topology.pm b/traffic_ops/app/lib/UI/Topology.pm
index e34b6d7..f76e49c 100644
--- a/traffic_ops/app/lib/UI/Topology.pm
+++ b/traffic_ops/app/lib/UI/Topology.pm
@@ -272,7 +272,7 @@ sub gen_crconfig_json {
my $regexps;
my $rs_ds = $self->db->resultset('Deliveryservice')->search(
{
- 'me.profile' => { -in => \@{ $profile_cache->{'CCR'} } },
+ 'me.cdn_id' => $cdn_id,
'active' => 1
},
{ prefetch => [ 'deliveryservice_servers', 'deliveryservice_regexes', 'type' ] }