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


##########
lib/go-tc/server_server_capability.go:
##########
@@ -27,6 +27,12 @@ type ServerServerCapability struct {
        ServerCapability *string    `json:"serverCapability" 
db:"server_capability"`
 }
 
+// MultipleServerCapabilities represents an association between a server and 
list of server capabilities.
+type MultipleServerCapabilities struct {
+       ServerID         int      `json:"serverId" db:"server"`
+       ServerCapability []string `json:"serverCapability" 
db:"server_capability"`

Review Comment:
   I thought about that.. but since I wasn't changing the DB calls, I thought 
of not changing the variable either.



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