You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by el...@apache.org on 2017/04/10 18:43:32 UTC

[2/6] incubator-trafficcontrol git commit: make config file list prettier

make config file list prettier


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/24fe0560
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/24fe0560
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/24fe0560

Branch: refs/heads/master
Commit: 24fe0560b7b25e1a72003063f1956546d34fd131
Parents: 63c1c78
Author: Derek Gelinas <mr...@gmail.com>
Authored: Fri Mar 31 19:05:45 2017 +0000
Committer: Jeff Elsloo <je...@cable.comcast.com>
Committed: Mon Apr 10 12:42:46 2017 -0600

----------------------------------------------------------------------
 traffic_ops/bin/traffic_ops_ort.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/24fe0560/traffic_ops/bin/traffic_ops_ort.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/bin/traffic_ops_ort.pl b/traffic_ops/bin/traffic_ops_ort.pl
index 1b1a9cf..9ff6d47 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -1739,7 +1739,7 @@ sub get_cfg_file_list {
 			( $log_level >> $WARN ) && printf("WARN Instant Invalidate is enabled.  Skipping regex_revalidate.config.\n");
 			delete $ort_ref->{'config_files'}->{'regex_revalidate.config'};
 		}
-		foreach my $cfg_file ( keys %{ $ort_ref->{'config_files'} } ) {
+		foreach my $cfg_file ( sort keys %{ $ort_ref->{'config_files'} } ) {
 			my $fname_on_disk = &get_filename_on_disk($cfg_file);
 			( $log_level >> $INFO )
 				&& printf( "INFO Found config file (on disk: %-41s): %-41s with location: %-50s\n", $fname_on_disk, $cfg_file, $ort_ref->{'config_files'}->{$cfg_file}->{'location'} );