elsloo closed pull request #2166: removes legacy config file fallback
URL: https://github.com/apache/incubator-trafficcontrol/pull/2166
 
 
   

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/bin/traffic_ops_ort.pl 
b/traffic_ops/bin/traffic_ops_ort.pl
index b44de8869..00ced01bb 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -2553,7 +2553,8 @@ sub set_uri {
                ( $log_level >> $DEBUG ) && print "DEBUG Setting external 
download URL.\n";
        }
        else {
-               $URI = "\/genfiles\/view\/$hostname_short\/" . 
$cfg_file_tracker->{$filename}->{'fname-in-TO'};
+               ( $log_level >> $ERROR ) && print "ERROR Configuration File API 
not found!  Please upgrade to Traffic Ops 2.2.  Unable to continue.\n";
+               exit 1;
        }
 
        return if (!defined($cfg_file_tracker->{$filename}->{'fname-in-TO'}));


 

----------------------------------------------------------------
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

Reply via email to