zrhoffman commented on a change in pull request #5312:
URL: https://github.com/apache/trafficcontrol/pull/5312#discussion_r527352723
##########
File path: traffic_ops/traffic_ops_golang/server/servers_assignment.go
##########
@@ -57,6 +56,15 @@ FROM deliveryservice
LEFT OUTER JOIN cdn ON cdn.id=deliveryservice.cdn_id
WHERE deliveryservice.id = ANY($1)
`
+const RemapFile = "remap.config"
+const ConfigSuffix = ".config"
+const RegexRemapPrefix = "regex_remap_"
+const CacheUrlPrefix = "cacheurl_"
+const HeaderRewritePrefix = "hdr_rw_"
Review comment:
We should keep those string literals as constants, we don't want to have
random string fragments with no explanation of their purpose.
----------------------------------------------------------------
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]