rob05c commented on issue #3315: Assigning servers to ANY_MAP DS causes null 
pointer exception in TR
URL: https://github.com/apache/trafficcontrol/issues/3315#issuecomment-461912221
 
 
   For Traffic Ops, I _think_ we just need to add a check here: 
https://github.com/apache/trafficcontrol/blob/master/traffic_ops/traffic_ops_golang/crconfig/servers.go#L224
   
   `and ds.type <> (select id from type where name = 'ANY_MAP')`
   
   If it helps, Perl code is here: 
https://github.com/apache/trafficcontrol/blob/master/traffic_ops/app/lib/UI/Topology.pm#L299

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to