lib: update signature to *Distro

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza 2020-06-12 10:46:15 -04:00
parent 75375d0b58
commit 889fa52b7d

View File

@ -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)
} }