mitchell852 commented on a change in pull request #2088: TO Go: implement tenants CRUD URL: https://github.com/apache/incubator-trafficcontrol/pull/2088#discussion_r181166665
########## File path: traffic_ops/traffic_ops_golang/routes.go ########## @@ -205,6 +206,13 @@ func Routes(d ServerData) ([]Route, http.Handler, error) { //System {1.2, http.MethodGet, `system/info/?(\.json)?$`, systeminfo.Handler(d.DB), auth.PrivLevelReadOnly, Authenticated, nil}, + + //Tenants + {1.3, http.MethodGet, `tenants/?(\.json)?$`, api.ReadHandler(tenant.GetRefType(), d.DB), auth.PrivLevelReadOnly, Authenticated, nil}, Review comment: I think you should change these to 1.2 because you are simply rewriting the same perl endpoints in go ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services