ocket8888 commented on code in PR #6996:
URL: https://github.com/apache/trafficcontrol/pull/6996#discussion_r937980036


##########
lib/go-tc/server_server_capability.go:
##########
@@ -27,6 +27,11 @@ type ServerServerCapability struct {
        ServerCapability *string    `json:"serverCapability" 
db:"server_capability"`
 }
 
+type MultipleServerCapabilities struct {
+       ServerID         *int     `json:"serverId" db:"server"`

Review Comment:
   Yeah I know that's the JSON name. We have a bad habit of not capitalizing 
full initialisms in our JSON property names - so this is consistent with most 
of the API and you can leave it alone, but for whatever it's worth, I'd make it 
`serverID`



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to