Skip to content

Commit

Permalink
Fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
simulot committed Apr 24, 2020
1 parent 75eeb41 commit 6207045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/aspiratv/download.go
Expand Up @@ -220,7 +220,7 @@ func (a *app) DowloadImages(ctx context.Context, p providers.Provider, destinati

err := os.MkdirAll(filepath.Dir(destination), 0777)
if err != nil {
log.Printf("[%s] Can't create %s :%s", destination, err)
log.Printf("[DONWLOAD] Can't create %s :%s", destination, err)
return
}

Expand Down
4 changes: 2 additions & 2 deletions cmd/aspiratv/main.go
Expand Up @@ -359,7 +359,7 @@ showLoop:
select {
case <-ctx.Done():
if a.Config.Debug {
log.Println("[%s] Context done, received %s", ctx.Err())
log.Printf("[%s] Context done, received %s", p.Name(), ctx.Err())
}
break showLoop
default:
Expand All @@ -380,7 +380,7 @@ showLoop:
}
if ctx.Err() != nil {
if a.Config.Debug {
log.Println("[%s] PullShows received %s", ctx.Err())
log.Printf("[%s] PullShows received %s", p.Name(), ctx.Err())
}
break showLoop
}
Expand Down

0 comments on commit 6207045

Please sign in to comment.