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
co-authored by Dan Cech
parent c591631135
commit 86867a14ca
+1 -1
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)))