mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
Update pkg/services/authn/grpcutils/config.go
Co-authored-by: Dan Cech <dcech@grafana.com>
This commit is contained in:
parent
c591631135
commit
86867a14ca
@ -50,7 +50,7 @@ type GrpcServerConfig struct {
|
||||
Mode Mode
|
||||
}
|
||||
|
||||
func ReadGprcServerConfig(cfg *setting.Cfg) (*GrpcServerConfig, error) {
|
||||
func ReadGrpcServerConfig(cfg *setting.Cfg) (*GrpcServerConfig, error) {
|
||||
section := cfg.SectionWithEnvOverrides("grpc_server_authentication")
|
||||
|
||||
mode := Mode(section.Key("mode").MustString(string(ModeOnPrem)))
|
||||
|
Loading…
Reference in New Issue
Block a user