This is an automated email from the ASF dual-hosted git repository.

mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 75b9ad0  cr-config: calculating the hash-id if needed
75b9ad0 is described below

commit 75b9ad08854eb36087afc91385882b8daaf19e21
Author: nir-sopher <n...@qwilt.com>
AuthorDate: Wed Feb 7 19:37:57 2018 +0200

    cr-config: calculating the hash-id if needed
---
 traffic_ops/app/lib/UI/Topology.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_ops/app/lib/UI/Topology.pm 
b/traffic_ops/app/lib/UI/Topology.pm
index 93c176b..6480e13 100644
--- a/traffic_ops/app/lib/UI/Topology.pm
+++ b/traffic_ops/app/lib/UI/Topology.pm
@@ -264,7 +264,7 @@ sub gen_crconfig_json {
             $data_obj->{'contentServers'}->{ $row->host_name }->{'ip6'}        
   = ( $row->ip6_address || "" );
             $data_obj->{'contentServers'}->{ $row->host_name }->{'profile'}    
   = $row->profile->name;
             $data_obj->{'contentServers'}->{ $row->host_name }->{'type'}       
   = $row->type->name;
-            $data_obj->{'contentServers'}->{ $row->host_name }->{'hashId'}     
   = $row->xmpp_id;
+            $data_obj->{'contentServers'}->{ $row->host_name }->{'hashId'}     
   = $row->xmpp_id ? $row->xmpp_id : $row->host_name;
             $data_obj->{'contentServers'}->{ $row->host_name }->{'hashCount'}  
   = int( $weight * $weight_multiplier );
             $data_obj->{'contentServers'}->{ $row->host_name 
}->{'routingDisabled'} = $row->profile->routing_disabled;
         }

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

Reply via email to