ocket8888 commented on a change in pull request #4374: Create API v2 tests
URL: https://github.com/apache/trafficcontrol/pull/4374#discussion_r382785225
 
 

 ##########
 File path: traffic_ops/client/deliveryservice.go
 ##########
 @@ -368,8 +362,16 @@ func (to *Session) DeleteDeliveryService(id string) 
(*tc.DeleteDeliveryServiceRe
        return &data, nil
 }
 
-// GetDeliveryServiceHealth gets the 'health' of the Delivery Service 
identified by the
-// integral, unique identifier 'id' (which must be passed as a string).
+func (to *Session) GetDeliveryServiceState(id string) 
(*tc.DeliveryServiceState, ReqInf, error) {
+       var data tc.DeliveryServiceStateResponse
+       reqInf, err := get(to, deliveryServiceStateEp(id), &data)
 
 Review comment:
   ditto this one

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