Skip to content

Commit

Permalink
change Server query to only look at CDN. this fixes Comcast#678
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Torluemke authored and dewrich committed Oct 22, 2015
1 parent 7da51af commit 4ab8308
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions traffic_ops/app/lib/UI/Topology.pm
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,7 @@ sub gen_crconfig_json {

my %cache_tracker;
my $rs_caches = $self->db->resultset('Server')->search(
{ 'profile' => {
-in => [
@{ $profile_cache->{'EDGE'} },
@{ $profile_cache->{'MID'} },
@{ $profile_cache->{'CCR'} },
@{ $profile_cache->{'RASCAL'} }
]
}
},
{ 'type.name' => { -in => [ 'EDGE', 'MID', 'CCR', 'RASCAL', 'TR', 'TM' ] }, 'cdn_id' => $cdn_id },
{ prefetch => [ 'type', 'status', 'cachegroup', 'profile' ],
columns => [
'host_name', 'domain_name',
Expand Down

0 comments on commit 4ab8308

Please sign in to comment.