ocket8888 commented on a change in pull request #5512:
URL: https://github.com/apache/trafficcontrol/pull/5512#discussion_r605094166
##########
File path: traffic_ops/testing/api/v4/cachegroups_parameters_test.go
##########
@@ -45,7 +46,9 @@ func CreateTestCacheGroupParameters(t *testing.T) {
// Get Parameter to assign to Cache Group
firstParameter := testData.Parameters[0]
- paramResp, _, err := TOSession.GetParameterByName(firstParameter.Name)
+ params := url.Values{}
+ params.Set("name", firstParameter.Name)
+ paramResp, _, err := TOSession.GetParameters(nil, params)
Review comment:
That would include adding the HTTP header parameter where it's missing
to method signatures, as well.
--
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]