mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 06:26:30 +01:00
Wire though maven-url to java config (#2291)
Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>
This commit is contained in:
@@ -13,7 +13,7 @@ func (j CatalogerOpts) WithUseNetwork(input bool) CatalogerOpts {
|
||||
return j
|
||||
}
|
||||
|
||||
func (j CatalogerOpts) WithMavenCentralURL(input string) CatalogerOpts {
|
||||
func (j CatalogerOpts) WithMavenURL(input string) CatalogerOpts {
|
||||
if input != "" {
|
||||
j.MavenURL = input
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user