From 86867a14cae1a58890040bdfc60b2e042d8d0658 Mon Sep 17 00:00:00 2001 From: Gabriel MABILLE Date: Fri, 4 Oct 2024 15:13:06 +0200 Subject: [PATCH] Update pkg/services/authn/grpcutils/config.go Co-authored-by: Dan Cech --- pkg/services/authn/grpcutils/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/authn/grpcutils/config.go b/pkg/services/authn/grpcutils/config.go index 239ec8d6d48..6fd864bfc19 100644 --- a/pkg/services/authn/grpcutils/config.go +++ b/pkg/services/authn/grpcutils/config.go @@ -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)))