mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
lib: update signature to *Distro
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
75375d0b58
commit
889fa52b7d
@ -10,7 +10,7 @@ import (
|
|||||||
"github.com/anchore/stereoscope/pkg/image"
|
"github.com/anchore/stereoscope/pkg/image"
|
||||||
)
|
)
|
||||||
|
|
||||||
func IdentifyDistro(img *image.Image) (distro.Distro, error) {
|
func IdentifyDistro(img *image.Image) *distro.Distro {
|
||||||
return distro.Identify(img)
|
return distro.Identify(img)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user