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



##########
File path: traffic_ops/traffic_ops_golang/crconfig/crconfig.go
##########
@@ -30,7 +30,7 @@ import (
 )
 
 // Make creates and returns the CRConfig from the database.
-func Make(tx *sql.Tx, cdn, user, toHost, reqPath, toVersion string, 
useClientReqHost bool, emulateOldPath bool) (*tc.CRConfig, error) {
+func Make(tx *sql.Tx, cdn, user, toHost, toVersion string, useClientReqHost 
bool, emulateOldPath bool) (*tc.CRConfig, error) {

Review comment:
       Either way we'd need `CRConfig.Stats.TMPath`; `CRConfigEmulateOldPath` 
only determined whether or not to insert a legacy path into that field. It 
would still be populated otherwise, just with a different path.
   
   I believe the "major version" that's talking about is the major ATC version, 
since historically snapshots have been un-versioned. 




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