Skip to content

Commit

Permalink
database: fix another printf
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Sep 24, 2024
1 parent 7df9e08 commit c9858a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func RunMigrationsContext(ctx context.Context, logger log.Logger, config Databas
case migrate.ErrNoChange:
logger.Info().Logf("Database already at version %d (dirty: %v)", previousVersion, dirty)
default:
return logger.Fatal().LogErrorf("Error running migrations (current: %d, dirty: %b): %w", previousVersion, dirty, err).Err()
return logger.Fatal().LogErrorf("Error running migrations (current: %d, dirty: %v): %w", previousVersion, dirty, err).Err()
}

newVersion, newDirty, err := m.Version()
Expand Down

0 comments on commit c9858a5

Please sign in to comment.