mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
PR Feedback
This commit is contained in:
parent
86867a14ca
commit
4fba5c9b32
@ -39,7 +39,7 @@ func ReadGrpcClientConfig(cfg *setting.Cfg) (*GrpcClientConfig, error) {
|
||||
return &GrpcClientConfig{
|
||||
Token: section.Key("token").MustString(""),
|
||||
TokenExchangeURL: section.Key("token_exchange_url").MustString(""),
|
||||
TokenNamespace: section.Key("token_namespace").MustString("stack-" + cfg.StackID),
|
||||
TokenNamespace: section.Key("token_namespace").MustString("stacks-" + cfg.StackID),
|
||||
Mode: mode,
|
||||
}, nil
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func NewGrpcAuthenticator(cfg *setting.Cfg) (*authnlib.GrpcAuthenticator, error) {
|
||||
authCfg, err := ReadGprcServerConfig(cfg)
|
||||
authCfg, err := ReadGrpcServerConfig(cfg)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user