mhoppa commented on a change in pull request #4518: Add service category
feature to TO and TP
URL: https://github.com/apache/trafficcontrol/pull/4518#discussion_r395136685
##########
File path: lib/go-tc/deliveryservices.go
##########
@@ -159,9 +159,15 @@ type DeliveryServiceV11 struct {
XMLID string `json:"xmlId"`
}
-type DeliveryServiceNullableV15 DeliveryServiceNullable // this type alias
should always alias the latest minor version of the deliveryservices endpoints
+type DeliveryServiceNullableV16 DeliveryServiceNullable // this type alias
should always alias the latest minor version of the deliveryservices endpoints
type DeliveryServiceNullable struct {
+ DeliveryServiceNullableV15
+ ServiceCategoryId *int `json:"serviceCategory" db:"service_category"`
+ ServiceCategoryName *string `json:"serviceCategoryName"`
Review comment:
go fmt
----------------------------------------------------------------
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