File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ type HeadlampConfig struct {
9393 meEmailPaths string
9494 // meGroupsPaths lists the JMESPath expressions tried for the groups in /clusters/{cluster}/me.
9595 meGroupsPaths string
96- // MeUserInfoURL is the URL to fetch additional user info for the /me endpoint. /oauth2/userinfo
97- MeUserInfoURL string
96+ // meUserInfoURL is the URL to fetch additional user info for the /me endpoint. /oauth2/userinfo
97+ meUserInfoURL string
9898}
9999
100100const DrainNodeCacheTTL = 20 // seconds
@@ -496,7 +496,7 @@ func createHeadlampHandler(config *HeadlampConfig) http.Handler {
496496 UsernamePaths : config .meUsernamePaths ,
497497 EmailPaths : config .meEmailPaths ,
498498 GroupsPaths : config .meGroupsPaths ,
499- UserInfoURL : config .MeUserInfoURL ,
499+ UserInfoURL : config .meUserInfoURL ,
500500 }),
501501 ).Methods ("GET" )
502502
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ func createHeadlampConfig(conf *config.Config) *HeadlampConfig {
120120 meUsernamePaths : conf .MeUsernamePath ,
121121 meEmailPaths : conf .MeEmailPath ,
122122 meGroupsPaths : conf .MeGroupsPath ,
123+ meUserInfoURL : conf .MeUserInfoURL ,
123124 cache : cache ,
124125 multiplexer : multiplexer ,
125126 telemetryConfig : buildTelemetryConfig (conf ),
You can’t perform that action at this time.
0 commit comments