From 77f1ad38af9143d0a7bcf48eea8e902d50845809 Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:08:11 -0600 Subject: [PATCH] linter Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- pkg/riverqueue/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/riverqueue/client.go b/pkg/riverqueue/client.go index 328f4ac..08a038d 100644 --- a/pkg/riverqueue/client.go +++ b/pkg/riverqueue/client.go @@ -103,6 +103,7 @@ func New(ctx context.Context, opts ...Option) (c *Client, err error) { // run migrations if the flag is set if c.config.RunMigrations { log.Info().Msg("running migrations") + if err := RunMigrations(ctx, c.pool); err != nil { log.Error().Err(err).Msg("error running migrations") return nil, err