rob05c commented on a change in pull request #2360: Ds adjustments
URL: 
https://github.com/apache/incubator-trafficcontrol/pull/2360#discussion_r192410978
 
 

 ##########
 File path: 
traffic_ops/traffic_ops_golang/deliveryservice/deliveryservicesv12.go
 ##########
 @@ -330,6 +330,10 @@ func CreateV12(db *sqlx.DB, cfg config.Config) 
http.HandlerFunc {
                        return
                }
 
+               if ds.RoutingName == nil || *ds.RoutingName == "" {
+                       ds.RoutingName = utils.StrPtr("cdn")
 
 Review comment:
   This would be better as an exported const

----------------------------------------------------------------
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