rawlinp commented on a change in pull request #4644:
URL: https://github.com/apache/trafficcontrol/pull/4644#discussion_r574803434



##########
File path: lib/go-tc/deliveryservices.go
##########
@@ -560,6 +767,40 @@ func (ds *DeliveryServiceNullableV30) 
validateTypeFields(tx *sql.Tx) error {
        return nil
 }
 
+func (ds *DeliveryServiceV40) Validate(tx *sql.Tx) error {

Review comment:
       Ah, I suppose it could be a public function in the `deliveryservice` 
package, which DSRs could import to use. That would still be better than it 
living in `lib/go-tc` IMO.




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


Reply via email to