Skip to content

Commit

Permalink
contrib: add missing :=
Browse files Browse the repository at this point in the history
I accidentally didn't push this commit to #367.
Fixes #368.
  • Loading branch information
jzelinskie committed Apr 20, 2017
1 parent e772be5 commit d76c549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/analyze-local-images/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d76c549

Please sign in to comment.