shamrickus commented on a change in pull request #5092:
URL: https://github.com/apache/trafficcontrol/pull/5092#discussion_r501806612



##########
File path: traffic_ops/traffic_ops_golang/deliveryservice/deliveryservices.go
##########
@@ -902,7 +902,7 @@ func updateV30(w http.ResponseWriter, r *http.Request, inf 
*api.APIInfo, ds *tc.
                newCDNName, err = getCDNName(*ds.CDNID, tx)
                newHostName, err = getHostName(ds.Protocol, *ds.Type, 
*ds.RoutingName, *ds.MatchList, cdnDomain)
                if err != nil {
-                       return nil, http.StatusInternalServerError, nil, 
errors.New("getting hostname after update: " + err.Error())
+                       return nil, http.StatusInternalServerError, nil, 
errors.New("getting cdnname/hostname after update: " + err.Error())

Review comment:
       Yep, I added getCDNName but didn't update the message




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to