From ad076f585b4476d5c8a1691fda805e1d4e852541 Mon Sep 17 00:00:00 2001 From: SoXX Date: Tue, 13 Aug 2024 12:52:58 +0200 Subject: [PATCH] fix: Use Debugf for formatted debug message in migrateDatabase --- pkg/database/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/database/client.go b/pkg/database/client.go index c4efd76..0ada34f 100644 --- a/pkg/database/client.go +++ b/pkg/database/client.go @@ -112,7 +112,7 @@ func migrateDatabase(ctx context.Context, dbPool *gorm.DB, config models.Databas if config.Debug { if n != 0 { - localLogger.Debug("applied %d migrations!", n) + localLogger.Debugf("applied %d migrations!", n) } else { localLogger.Debug("nothing to migrate") }