Skip to content

Commit

Permalink
Remove wrapper around response object (#6956)
Browse files Browse the repository at this point in the history
* Remove wrapper around response object

* Add CHANGELOG entry

Co-authored-by: Taylor Frey <taylor_frey@comcast.com>
  • Loading branch information
tcfdev and Taylor Frey authored Jul 15, 2022
1 parent 2e4a249 commit da4456a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- [#6933](https://github.com/apache/trafficcontrol/issues/6933) Fixed tc-health-client to handle credentials files with special characters in variables
- [#6776](https://github.com/apache/trafficcontrol/issues/6776) User properties only required sometimes
- Fixed TO API `GET /deliveryservicesserver` causing error when an IMS request is made with the `cdn` and `maxRevalDurationDays` parameters set.
- [#6795](https://github.com/apache/trafficcontrol/issues/6795) Removed an unnecessary response wrapper object from being returned in a POST to the federation resolvers endpoint.

### Removed
- Remove `client.steering.forced.diversity` feature flag(profile parameter) from Traffic Router (TR). Client steering responses now have cache diversity by default.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ func AssignFederationResolversToFederationHandler(w http.ResponseWriter, r *http
api.WriteRespAlertObj(
w, r, tc.SuccessLevel,
fmt.Sprintf("%d resolver(s) were assigned to the %s federation", len(reqObj.FedResolverIDs), name),
tc.AssignFederationFederationResolversResponse{Response: reqObj},
reqObj,
)
}

0 comments on commit da4456a

Please sign in to comment.