zrhoffman commented on a change in pull request #4464: Rework 
riak/bucket/:bucket/key/:key/value
URL: https://github.com/apache/trafficcontrol/pull/4464#discussion_r387822567
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/vault/bucket.go
 ##########
 @@ -22,13 +22,22 @@ package apiriak
 import (
        "encoding/json"
        "errors"
-       "net/http"
-
+       "github.com/apache/trafficcontrol/lib/go-tc"
+       "github.com/apache/trafficcontrol/lib/go-util"
        "github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/api"
        
"github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc"
+       "net/http"
 )
 
+func GetBucketKeyDeprecated(w http.ResponseWriter, r *http.Request) {
+       getBucketKey(w, r, 
api.CreateDeprecationAlerts(util.StrPtr("/value/bucket/:bucket/key/:key/values")))
 
 Review comment:
   Should be `/vault/bucket/:bucket/key/:key/values`, not 
`/value/bucket/:bucket/key/:key/values`.

----------------------------------------------------------------
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

Reply via email to