From d76c549dfb18267ce72bd4e1e2fcb18f0d3bdc1a Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Thu, 20 Apr 2017 13:38:11 -0400 Subject: [PATCH] contrib: add missing := I accidentally didn't push this commit to #367. Fixes #368. --- contrib/analyze-local-images/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/analyze-local-images/main.go b/contrib/analyze-local-images/main.go index 10e571a6..d08073af 100644 --- a/contrib/analyze-local-images/main.go +++ b/contrib/analyze-local-images/main.go @@ -154,7 +154,7 @@ func AnalyzeLocalImage(imageName string, minSeverity types.Priority, endpoint, m // Retrieve history. log.Println("Retrieving image history") - layerIDs, err = historyFromCommand(imageName) + layerIDs, err := historyFromCommand(imageName) if err != nil || len(layerIDs) == 0 { return fmt.Errorf("Could not get image's history: %s", err) }