Skip to content

Commit

Permalink
database: fix printf
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Sep 24, 2024
1 parent abe1f76 commit a20e8d8
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 @@ -84,7 +84,7 @@ func RunMigrationsContext(ctx context.Context, logger log.Logger, config Databas
switch err {
case nil:
case migrate.ErrNoChange:
logger.Info().Logf("Database already at version %d (dirty: %b)", previousVersion, dirty)
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()
}
Expand Down

0 comments on commit a20e8d8

Please sign in to comment.