rawlinp commented on a change in pull request #2785: In Traffic Router Support 
Snapshots which only update Delivery Services
URL: https://github.com/apache/trafficcontrol/pull/2785#discussion_r236449071
 
 

 ##########
 File path: 
traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/cache/Cache.java
 ##########
 @@ -178,6 +189,18 @@ public DeliveryServiceReference(final String 
deliveryServiceId, final String fqd
 
                        this.deliveryServiceId = deliveryServiceId;
                        this.fqdn = fqdn;
+                       final String[] parts = fqdn.split("\\.", 2);
+                       host = parts[0];
+                       domain = parts[1];
+               }
+
+               public DeliveryServiceReference(final String deliveryServiceId, 
final String fqdn,
+                                               final List<String> dsNames) 
throws ParseException {
+                       this(deliveryServiceId,fqdn);
 
 Review comment:
   Can you add a space between the params here?

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