From 889fa52b7db1df3fc48fe09921c363d6903d0265 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 12 Jun 2020 10:46:15 -0400 Subject: [PATCH] lib: update signature to *Distro Signed-off-by: Alfredo Deza --- imgbom/lib.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgbom/lib.go b/imgbom/lib.go index 036149103..176bcafdb 100644 --- a/imgbom/lib.go +++ b/imgbom/lib.go @@ -10,7 +10,7 @@ import ( "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) }