Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <[email protected]>
  • Loading branch information
golanglemonade committed Sep 27, 2024
1 parent 92d7b9e commit 77f1ad3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/riverqueue/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77f1ad3

Please sign in to comment.