You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/02/27 18:30:05 UTC

[GitHub] [trafficcontrol] ocket8888 commented on a change in pull request #4448: Deprecate /deliveryservices/hostname/:name/sslkeys

ocket8888 commented on a change in pull request #4448: Deprecate /deliveryservices/hostname/:name/sslkeys
URL: https://github.com/apache/trafficcontrol/pull/4448#discussion_r385292390
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/deliveryservice/keys.go
 ##########
 @@ -226,30 +231,38 @@ func GetSSLKeysByXMLID(w http.ResponseWriter, r *http.Request) {
 }
 
 func getSSLKeysByXMLIDHelper(xmlID string, inf *api.APIInfo, w http.ResponseWriter, r *http.Request) {
+	alerts := tc.CreateAlerts(tc.WarnLevel, hostnameKeyDepMsg)
 
 Review comment:
   doing this in these "*Helper" functions is adding the deprecation notice to `deliveryservices/xmlId/{{xmlId}}/sslkeys` as well, which is ironic.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services