lestrrat commented on a change in pull request #6380:
URL: https://github.com/apache/trafficcontrol/pull/6380#discussion_r758927612
##########
File path: traffic_ops/traffic_ops_golang/urisigning/urisigning.go
##########
@@ -62,7 +63,7 @@ func GetURIsignkeysHandler(w http.ResponseWriter, r
*http.Request) {
return
}
if len(ro) == 0 {
- ro, err = json.Marshal(tc.URISignerKeyset{})
+ ro, err = json.Marshal(jwk.NewSet())
Review comment:
I believe this is just a problem in this particular path, so I opted to
just stick a dummy struct so that we don't have to play games
https://github.com/apache/trafficcontrol/pull/6380/commits/b947d63baa1adac7124f12b387ae6a54c531613c
--
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]