ocket8888 commented on a change in pull request #5247:
URL: https://github.com/apache/trafficcontrol/pull/5247#discussion_r518162230



##########
File path: lib/go-atscfg/astatsdotconfig.go
##########
@@ -19,23 +19,41 @@ package atscfg
  * under the License.
  */
 
+import (
+       "github.com/apache/trafficcontrol/lib/go-tc"
+)
+
 const AstatsSeparator = "="
 const AstatsFileName = "astats.config"
 
 const ContentTypeAstatsDotConfig = ContentTypeTextASCII
 const LineCommentAstatsDotConfig = LineCommentHash
 
 func MakeAStatsDotConfig(
-       profileName string,
-       paramData map[string]string, // GetProfileParamData(tx, profile.ID, 
AstatsFileName)
-       toToolName string, // tm.toolname global parameter (TODO: cache itself?)
-       toURL string, // tm.url global parameter (TODO: cache itself?)
-) string {
-       hdr := GenericHeaderComment(profileName, toToolName, toURL)
+       server *tc.ServerNullable,

Review comment:
       Yep, looks like 
`github.com/apache/trafficcontrol/traffic_ops/client.GetServers` changed call 
signatures between 4.1.1 and 5.0; used to return `[]tc.Server`.




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


Reply via email to