diff --git a/pkg/server/server.go b/pkg/server/server.go index 5f7af986..5ae49bd5 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -246,11 +246,10 @@ func New(ctx context.Context, log *zap.Logger, options Options) (*Server, error) var MLSValidator mlsvalidate.MLSValidationService if options.MLSValidation.GRPCAddress != "" { - MLSValidator, err = mlsvalidate.NewMlsValidationService(ctx, options.MLSValidation, nil) + MLSValidator, err = mlsvalidate.NewMlsValidationService(ctx, options.MLSValidation, MLSStore) if err != nil { return nil, errors.Wrap(err, "creating mls validation service") } - } // Initialize gRPC server.