ocket8888 commented on a change in pull request #4508: Deprecate DELETE/GET
regions/:id
URL: https://github.com/apache/trafficcontrol/pull/4508#discussion_r395396102
##########
File path: traffic_ops/traffic_ops_golang/api/api.go
##########
@@ -158,7 +158,6 @@ func HandleDeprecatedErr(w http.ResponseWriter, r
*http.Request, tx *sql.Tx, sta
log.Errorf("HandleDeprecatedErr called after a write already
occurred! Attempting to write the error anyway! Path %s", r.URL.Path)
// Don't return, attempt to rollback and write the error anyway
}
- setRespWritten(r)
Review comment:
Just need an answer to this, I assume it's being done somewhere twice that
I'm missing.
----------------------------------------------------------------
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