trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitchell...@apache.org
Subject [1/2] incubator-trafficcontrol git commit: fix stupid mistake in configfiles.pm
Date Tue, 02 May 2017 19:48:50 GMT
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master 54b78aaae -> c5ab0a08a


fix stupid mistake in configfiles.pm


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

Branch: refs/heads/master
Commit: 1593a90db98328e96dcc2052503aaba9ba18498d
Parents: 54b78aa
Author: Derek Gelinas <derek_gelinas@cable.comcast.com>
Authored: Tue May 2 15:39:58 2017 -0400
Committer: Jeremy Mitchell <mitchell852@gmail.com>
Committed: Tue May 2 13:48:14 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/lib/UI/ConfigFiles.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/1593a90d/traffic_ops/app/lib/UI/ConfigFiles.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/ConfigFiles.pm b/traffic_ops/app/lib/UI/ConfigFiles.pm
index 6880bad..3bf2020 100644
--- a/traffic_ops/app/lib/UI/ConfigFiles.pm
+++ b/traffic_ops/app/lib/UI/ConfigFiles.pm
@@ -1209,12 +1209,12 @@ sub parent_dot_config {
 			else {
 				# check for delivery service psel.qstring_handling.  If this parameter is assigned to
the delivery service profile,
 				# then edges will use the qstring handling value specified in the parameter for all profiles.
-				my $qsh = $ds->{'param'}->{'parent.config'}->{'psel.qstring_handling'};
+				my $qsh = $remap->{'param'}->{'parent.config'}->{'psel.qstring_handling'};
 				# If there is no defined parameter in the delivery service, then check the server's profile.
 				# If psel.qstring_handling exists in the profile, then we use that value for the specified
profile only.
 				# This is used only if not overridden by a delivery service profile qstring handling
parameter.
 				if (!defined($qsh)) {
-					$qsh = $self->profile_param_value( $server_obj->profile->id, 'parent.config',
'psel.qstring_handling');
+					$qsh = $self->profile_param_value( $server->profile->id, 'parent.config', 'psel.qstring_handling');
 				}
 				my $parent_qstring = defined($qsh) ? $qsh : "ignore";
 				if ( $remap->{qstring_ignore} == 0 && !defined($qsh) ) {


Mime
View raw message