From 3a21a90610bdaa642d3acc20c8ee39c6b803ec39 Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Tue, 2 Jul 2024 15:45:25 -0400 Subject: [PATCH] rebase Signed-off-by: Pranav Gaikwad --- .../dotnet-external-provider/pkg/dotnet/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external-providers/dotnet-external-provider/pkg/dotnet/provider.go b/external-providers/dotnet-external-provider/pkg/dotnet/provider.go index c7defb58..ee654201 100644 --- a/external-providers/dotnet-external-provider/pkg/dotnet/provider.go +++ b/external-providers/dotnet-external-provider/pkg/dotnet/provider.go @@ -68,7 +68,7 @@ func (p *dotnetProvider) Capabilities() []provider.Capability { func (p *dotnetProvider) Init(ctx context.Context, log logr.Logger, config provider.InitConfig) (provider.ServiceClient, provider.InitConfig, error) { var mode provider.AnalysisMode = provider.AnalysisMode(config.AnalysisMode) if mode != provider.SourceOnlyAnalysisMode { - return nil, fmt.Errorf("only full analysis is supported") + return nil, provider.InitConfig{}, fmt.Errorf("only full analysis is supported") } // handle proxy settings