rawlinp commented on a change in pull request #5107:
URL: https://github.com/apache/trafficcontrol/pull/5107#discussion_r500414636
##########
File path: traffic_ops/traffic_ops_golang/config/config.go
##########
@@ -298,7 +298,19 @@ func LoadConfig(cdnConfPath string, dbConfPath string,
riakConfPath string, appV
idbPath := cfg.InfluxDBConfPath
if idbPath == "" {
- idbPath = filepath.Join(filepath.Dir(cdnConfPath),
"influxdb.conf")
+ var mojoMode string
+ for _, v := range os.Environ() {
Review comment:
Why not `os.Getenv("MOJO_MODE")` instead?
----------------------------------------------------------------
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]