This is an automated email from the ASF dual-hosted git repository.

elsloo 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 425be77  removes legacy config file fallback
425be77 is described below

commit 425be777fb485fea43a10392496dd92493988065
Author: Derek Gelinas <mrdgeli...@gmail.com>
AuthorDate: Wed Apr 25 10:20:02 2018 -0400

    removes legacy config file fallback
---
 traffic_ops/bin/traffic_ops_ort.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/traffic_ops/bin/traffic_ops_ort.pl 
b/traffic_ops/bin/traffic_ops_ort.pl
index b44de88..00ced01 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'}));

-- 
To stop receiving notification emails like this one, please contact
els...@apache.org.

Reply via email to