DylanVolz commented on a change in pull request #2010: Go login
URL: 
https://github.com/apache/incubator-trafficcontrol/pull/2010#discussion_r186548894
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/config/config.go
 ##########
 @@ -142,6 +156,16 @@ func LoadConfig(cdnConfPath string, dbConfPath string, 
riakConfPath string, appV
                }
        }
 
+       if cfg.LDAPConfPath != "" {
+               cfg.LDAPEnabled, cfg.ConfigLDAP, err = 
GetLDAPConfig(cfg.LDAPConfPath)
+               if err != nil {
+                       cfg.LDAPEnabled = false // probably unnecessary
 
 Review comment:
   +1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to