From 75ca25ffbb3ac966265575d5bc9690e068c4c94f Mon Sep 17 00:00:00 2001 From: Julien Riou Date: Thu, 15 Apr 2021 15:25:54 +0200 Subject: [PATCH] Bugfix typo for compilation Used logrus.Logf instead of logrus.Printf. Signed-off-by: Julien Riou --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2370582..6a88942 100644 --- a/main.go +++ b/main.go @@ -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) } } }