Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Bugfix typo for compilation
Browse files Browse the repository at this point in the history
Used logrus.Logf instead of logrus.Printf.

Signed-off-by: Julien Riou <[email protected]>
  • Loading branch information
jouir committed Apr 15, 2021
1 parent 1f5cef1 commit 75ca25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func main() {
if trx = db.Unscoped().Delete(&p); trx.Error != nil {
log.Warnf("cannot remove stale product %s (%s): %s", p.Name, p.URL, trx.Error)
} else {
log.Logf("stale product %s (%s) removed from database", p.Name, p.URL)
log.Printf("stale product %s (%s) removed from database", p.Name, p.URL)
}
}
}
Expand Down

0 comments on commit 75ca25f

Please sign in to comment.