mattjackson220 commented on a change in pull request #4477: Deprecate 
parameters/profile/:name
URL: https://github.com/apache/trafficcontrol/pull/4477#discussion_r391035107
 
 

 ##########
 File path: 
traffic_ops/traffic_ops_golang/profileparameter/parameterprofilebyname.go
 ##########
 @@ -31,11 +31,16 @@ import (
 func GetProfileName(w http.ResponseWriter, r *http.Request) {
        inf, userErr, sysErr, errCode := api.NewInfo(r, []string{"name"}, nil)
        if userErr != nil || sysErr != nil {
-               api.HandleErr(w, r, inf.Tx.Tx, errCode, userErr, sysErr)
+               api.HandleDeprecatedErr(w, r, nil, errCode, userErr, sysErr, 
nil)
 
 Review comment:
   this should have an alternative at `profiles/name/{name}/parameters`

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


With regards,
Apache Git Services

Reply via email to