Update pkg/services/authn/grpcutils/config.go

Co-authored-by: Dan Cech <dcech@grafana.com>
This commit is contained in:
Gabriel MABILLE 2024-10-04 15:13:06 +02:00 committed by GitHub
parent c591631135
commit 86867a14ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)))