contrib: add missing :=

I accidentally didn't push this commit to #367.
Fixes #368.
pull/369/head
Jimmy Zelinskie 7 years ago
parent e772be5f6f
commit d76c549dfb

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

Loading…
Cancel
Save