You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2016/11/28 21:23:01 UTC

[03/11] incubator-trafficcontrol git commit: update HwInfo.pm to always return an int for limit

update HwInfo.pm to always return an int for limit


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

Branch: refs/heads/psql-rebase
Commit: 028ac9621f33602bc9e8fca624599e03ffb262f1
Parents: c444a40
Author: David Neuman <da...@gmail.com>
Authored: Tue Nov 22 10:08:12 2016 -0700
Committer: David Neuman <da...@gmail.com>
Committed: Tue Nov 22 10:08:12 2016 -0700

----------------------------------------------------------------------
 traffic_ops/app/lib/API/HwInfo.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/028ac962/traffic_ops/app/lib/API/HwInfo.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/API/HwInfo.pm b/traffic_ops/app/lib/API/HwInfo.pm
index 43495fc..972f76a 100644
--- a/traffic_ops/app/lib/API/HwInfo.pm
+++ b/traffic_ops/app/lib/API/HwInfo.pm
@@ -39,7 +39,7 @@ sub index {
 			}
 		);
 	}
-
+	$limit += 0; #converts to int.
 	$self->success( \@data, undef, undef, $limit, undef );
 }