Merge pull request #369 from jzelinskie/fix-ali
contrib: add missing :=
This commit is contained in:
commit
ae78bdc586
@ -154,7 +154,7 @@ func AnalyzeLocalImage(imageName string, minSeverity types.Priority, endpoint, m
|
|||||||
|
|
||||||
// Retrieve history.
|
// Retrieve history.
|
||||||
log.Println("Retrieving image history")
|
log.Println("Retrieving image history")
|
||||||
layerIDs, err = historyFromCommand(imageName)
|
layerIDs, err := historyFromCommand(imageName)
|
||||||
if err != nil || len(layerIDs) == 0 {
|
if err != nil || len(layerIDs) == 0 {
|
||||||
return fmt.Errorf("Could not get image's history: %s", err)
|
return fmt.Errorf("Could not get image's history: %s", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user