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