rawlinp commented on a change in pull request #2979: Fix TO Go DSS GET
endpoints to check tenancy
URL: https://github.com/apache/trafficcontrol/pull/2979#discussion_r254021306
##########
File path: traffic_ops/traffic_ops_golang/deliveryservice/servers/servers.go
##########
@@ -142,7 +143,21 @@ func (dss *TODeliveryServiceServer) readDSS(tx *sqlx.Tx,
user *auth.CurrentUser,
orderby = "deliveryService"
}
- query, err := selectQuery(orderby, strconv.Itoa(limit),
strconv.Itoa(offset))
+ tenancyEnabled, err := tenant.IsTenancyEnabledTx(tx.Tx)
Review comment:
late to the party, but tenancy is always enabled by default now so this
check is unnecessary
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services