mitchell852 closed pull request #1811: Traffic Ops: remove unused get_type
call that makes extra sql queries
URL: https://github.com/apache/incubator-trafficcontrol/pull/1811
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/traffic_ops/app/lib/API/DeliveryService/Steering.pm
b/traffic_ops/app/lib/API/DeliveryService/Steering.pm
index cf146ffeaf..d4fe04d923 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,
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services