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 2018/05/14 17:22:23 UTC

[incubator-trafficcontrol] 11/12: changed 0/1 to true/false

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

commit 2fa22188644ad45d49e5994e9bfecd2dec572096
Author: Jesse Rivas <je...@comcast.com>
AuthorDate: Tue May 8 13:31:17 2018 -0600

    changed 0/1 to true/false
---
 traffic_ops/app/lib/API/Deliveryservice.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/traffic_ops/app/lib/API/Deliveryservice.pm b/traffic_ops/app/lib/API/Deliveryservice.pm
index 769c385..9793e25 100644
--- a/traffic_ops/app/lib/API/Deliveryservice.pm
+++ b/traffic_ops/app/lib/API/Deliveryservice.pm
@@ -101,7 +101,7 @@ sub index {
 		push(
 			@data, {
 				"active"               => \$row->active,
-				"anonymousBlockingEnabled" => $row->anonymous_blocking_enabled,
+				"anonymousBlockingEnabled" => \$row->anonymous_blocking_enabled,
 				"cacheurl"             => $row->cacheurl,
 				"ccrDnsTtl"            => $row->ccr_dns_ttl,
 				"cdnId"                => $row->cdn->id,
@@ -224,7 +224,7 @@ sub show {
 		push(
 			@data, {
 				"active"               => \$row->active,
-				"anonymousBlockingEnabled" => $row->anonymous_blocking_enabled,
+				"anonymousBlockingEnabled" => \$row->anonymous_blocking_enabled,
 				"cacheurl"             => $row->cacheurl,
 				"ccrDnsTtl"            => $row->ccr_dns_ttl,
 				"cdnId"                => $row->cdn->id,
@@ -991,7 +991,7 @@ sub get_deliveryservices_by_serverId {
 			push(
 				@data, {
 					"active"               => \$row->active,
-					"anonymousBlockingEnabled" => $row->anonymous_blocking_enabled,
+					"anonymousBlockingEnabled" => \$row->anonymous_blocking_enabled,
 					"cacheurl"             => $row->cacheurl,
 					"ccrDnsTtl"            => $row->ccr_dns_ttl,
 					"cdnId"                => $row->cdn->id,
@@ -1092,7 +1092,7 @@ sub get_deliveryservices_by_userId {
 			push(
 				@data, {
 					"active"               => \$row->active,
-					"anonymousBlockingEnabled" => $row->anonymous_blocking_enabled,
+					"anonymousBlockingEnabled" => \$row->anonymous_blocking_enabled,
 					"cacheurl"             => $row->cacheurl,
 					"ccrDnsTtl"            => $row->ccr_dns_ttl,
 					"cdnId"                => $row->cdn->id,

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