rawlinp commented on a change in pull request #5922:
URL: https://github.com/apache/trafficcontrol/pull/5922#discussion_r661789912



##########
File path: traffic_ops/traffic_ops_golang/deliveryservice/deliveryservices.go
##########
@@ -496,7 +556,6 @@ func createV40(w http.ResponseWriter, r *http.Request, inf 
*api.APIInfo, dsV40 t
                return nil, http.StatusInternalServerError, nil, 
errors.New("error writing to audit log: " + err.Error())
        }
 
-       dsV40 = tc.DeliveryServiceV40(ds)

Review comment:
       I think we actually need this line still, because `ds` has been mutated 
throughout this function, and we want to return those mutations in the response.




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

To unsubscribe, e-mail: [email protected]

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


Reply via email to