From b2a9ed8e04d8fc83b1651b05553c61a1a984686e Mon Sep 17 00:00:00 2001 From: Surya Asriadie Date: Sat, 29 Oct 2022 12:01:42 +0900 Subject: [PATCH] Fix generated logger function (#4) --- rel/internal/migrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rel/internal/migrate.go b/rel/internal/migrate.go index e46b482..1faf221 100644 --- a/rel/internal/migrate.go +++ b/rel/internal/migrate.go @@ -35,7 +35,7 @@ var ( shutdowns []func() error ) -func logger(ctx context.Context, op string, message string) func(err error) { +func logger(ctx context.Context, op string, message string, args ...interface{}) func(err error) { // no op for rel functions. if strings.HasPrefix(op, "rel-") { return func(error) {}