trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitchell...@apache.org
Subject [incubator-trafficcontrol] branch master updated: remove unused get_type call that makes extra sql queries
Date Wed, 31 Jan 2018 20:37:10 GMT
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 <dangogh@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.

Mime
View raw message