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