Repository: incubator-trafficcontrol Updated Branches: refs/heads/master bbe2ac599 -> 0172d2764
minor correction Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/766611f6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/766611f6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/766611f6 Branch: refs/heads/master Commit: 766611f6b63cd4aa9e347901451e0992ca34de6e Parents: fdfcd73 Author: Derek Gelinas <derek_geli...@cable.comcast.com> Authored: Thu Mar 9 09:58:35 2017 -0500 Committer: Jeff Elsloo <jeffrey_els...@cable.comcast.com> Committed: Tue Mar 14 12:54:07 2017 -0600 ---------------------------------------------------------------------- traffic_ops/app/lib/UI/Steering.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/766611f6/traffic_ops/app/lib/UI/Steering.pm ---------------------------------------------------------------------- diff --git a/traffic_ops/app/lib/UI/Steering.pm b/traffic_ops/app/lib/UI/Steering.pm index a848889..ae47950 100644 --- a/traffic_ops/app/lib/UI/Steering.pm +++ b/traffic_ops/app/lib/UI/Steering.pm @@ -196,7 +196,7 @@ sub is_valid { $self->field('steering.target_id_2_weight')->is_equal( "", "Error: \"$tid2_weight\" is not a valid integer of 0 or greater." ); } - return $self->valid(); + return $self->valid; } sub get_ds_profile {