From 6c19ae700e6d7e34c7b2a97c24734ad40e9f667e Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Tue, 16 Apr 2024 12:57:41 +0600 Subject: [PATCH] refactor: fix typo --- pkg/dependency/parser/java/pom/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/dependency/parser/java/pom/parse.go b/pkg/dependency/parser/java/pom/parse.go index 25ce839e4e69..a1b42b712e28 100644 --- a/pkg/dependency/parser/java/pom/parse.go +++ b/pkg/dependency/parser/java/pom/parse.go @@ -650,7 +650,7 @@ func (p *parser) fetchPOMFromRemoteRepositories(paths []string, snapshot bool) ( // try all remoteRepositories for _, repo := range remoteRepos { - fetched, err := fetchPOMFromRemoteRepository(repo, paths) + fetched, err := p.fetchPOMFromRemoteRepository(repo, paths) if err != nil { return nil, xerrors.Errorf("fetch repository error: %w", err) } else if fetched == nil {