You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2016/11/18 00:43:19 UTC
[1/2] incubator-trafficcontrol git commit: casts miss_lat and
miss_long to a float as it is in the db
Repository: incubator-trafficcontrol
Updated Branches:
refs/heads/psql-rebase cc7f42bcd -> 4aa4af930
casts miss_lat and miss_long to a float as it is in the db
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/4f0e1afc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/4f0e1afc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/4f0e1afc
Branch: refs/heads/psql-rebase
Commit: 4f0e1afc4dec5d80f7860c54f92e720cb3661325
Parents: cc7f42b
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Thu Nov 17 16:31:01 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Nov 17 17:41:10 2016 -0700
----------------------------------------------------------------------
traffic_ops/app/lib/UI/Topology.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/4f0e1afc/traffic_ops/app/lib/UI/Topology.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/Topology.pm b/traffic_ops/app/lib/UI/Topology.pm
index 02b6ff4..09fb68f 100644
--- a/traffic_ops/app/lib/UI/Topology.pm
+++ b/traffic_ops/app/lib/UI/Topology.pm
@@ -506,10 +506,10 @@ sub gen_crconfig_json {
}
if ( defined( $row->miss_lat ) && $row->miss_lat ne "" ) {
- $data_obj->{'deliveryServices'}->{ $row->xml_id }->{'missLocation'}->{'lat'} = $row->miss_lat;
+ $data_obj->{'deliveryServices'}->{ $row->xml_id }->{'missLocation'}->{'lat'} = $row->miss_lat + 0;
}
if ( defined( $row->miss_long ) && $row->miss_long ne "" ) {
- $data_obj->{'deliveryServices'}->{ $row->xml_id }->{'missLocation'}->{'long'} = $row->miss_long;
+ $data_obj->{'deliveryServices'}->{ $row->xml_id }->{'missLocation'}->{'long'} = $row->miss_long + 0;
}
$data_obj->{'deliveryServices'}->{ $row->xml_id }->{'ttls'} = {
[2/2] incubator-trafficcontrol git commit: This closes #93.
Posted by da...@apache.org.
This closes #93.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/4aa4af93
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/4aa4af93
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/4aa4af93
Branch: refs/heads/psql-rebase
Commit: 4aa4af930e87c4aad5a3764ccf5eb4479d61ff40
Parents: 4f0e1af
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Nov 17 17:41:48 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Thu Nov 17 17:41:48 2016 -0700
----------------------------------------------------------------------
----------------------------------------------------------------------