srijeet0406 commented on code in PR #7023:
URL: https://github.com/apache/trafficcontrol/pull/7023#discussion_r951992009
##########
lib/go-tc/servers.go:
##########
@@ -1019,6 +1019,12 @@ func UpdateServerPropertiesV40(profileNames []string,
properties CommonServerPro
}
}
+// ServerV41 is the representation of a Server in version 4.1 of the Traffic
Ops API.
+type ServerV41 struct {
+ ServerV40
+ ASNs []int64 `json:"asns"`
Review Comment:
The ASNs are defined in postgres as `BIGINT`s. I wanted to preserve the same
behavior here.
--
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]