rob05c commented on a change in pull request #3605: Fix TM polling urls with
ports
URL: https://github.com/apache/trafficcontrol/pull/3605#discussion_r288659417
##########
File path: lib/go-tc/traffic_router.go
##########
@@ -136,6 +136,7 @@ type TrafficServer struct {
CacheGroup string `json:"cacheGroup"`
IP6 string `json:"ip6"`
Port int `json:"port"`
+ HTTPSPort int `json:"httpsPort,omitempty"`
Review comment:
I added `omitempty` because this variable is being used internally by the
Monitor, but isn't in the `monitoring.json` endpoint. This preserves the
existing API, not including `omitempty` would change the API.
----------------------------------------------------------------
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