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/10/02 20:51:58 UTC

[GitHub] [trafficcontrol] rob05c commented on a change in pull request #4999: deliveryservices/id/capacity no longer gives Internal Server Error

rob05c commented on a change in pull request #4999:
URL: https://github.com/apache/trafficcontrol/pull/4999#discussion_r499044892



##########
File path: traffic_ops/traffic_ops_golang/deliveryservice/capacity.go
##########
@@ -135,6 +139,20 @@ func getCapacity(tx *sql.Tx, ds tc.DeliveryServiceName, cdn tc.CDNName) (Capacit
 	}, nil
 }
 
+// To check whether a given DS has servers.
+func dsHasSever(ds tc.DeliveryServiceName, crConfig tc.CRConfig) bool {

Review comment:
       Nitpick: typo, `dsHasServer`




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