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 2018/01/31 20:37:10 UTC
[incubator-trafficcontrol] branch master updated: remove unused
get_type call that makes extra sql queries
This is an automated email from the ASF dual-hosted git repository.
mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new b396510 remove unused get_type call that makes extra sql queries
b396510 is described below
commit b3965103ce23cafa73afd28e49a61dcc122faafa
Author: Dan Kirkwood <da...@apache.org>
AuthorDate: Mon Jan 29 13:20:45 2018 -0700
remove unused get_type call that makes extra sql queries
---
traffic_ops/app/lib/API/DeliveryService/Steering.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/traffic_ops/app/lib/API/DeliveryService/Steering.pm b/traffic_ops/app/lib/API/DeliveryService/Steering.pm
index cf146ff..d4fe04d 100644
--- a/traffic_ops/app/lib/API/DeliveryService/Steering.pm
+++ b/traffic_ops/app/lib/API/DeliveryService/Steering.pm
@@ -92,8 +92,6 @@ sub find_steering {
my $targets = $steering_entry->{"targets"};
- my $type = $self->get_type($row->type);
-
if ( $row->type eq "STEERING_ORDER" ) {
push(@{$targets},{
'deliveryService' => $row->target_xml_id,
--
To stop receiving notification emails like this one, please contact
mitchell852@apache.org.