Skip to content
Snippets Groups Projects
Commit 1d58e6a0 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Minor cleanup

parent 6fba2abd
Branches
No related tags found
No related merge requests found
......@@ -42,9 +42,9 @@ func processImage(config *Config, client *redis.Client, value string) {
errors := make([]string, 0)
for i := 0; i < len(config.Sizes); i++ {
error := <-errorChannel
if error != nil {
errors = append(errors, error.Error())
err := <-errorChannel
if err != nil {
errors = append(errors, err.Error())
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment