mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 17:46:15 -06:00
fix logging
This commit is contained in:
parent
bb8afd231d
commit
3f342f8549
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ func init() {
|
|||
// we must drop all indices that rely on it.
|
||||
log.Info(ctx, "dropping old visibility indexes...")
|
||||
for _, index := range visIndices {
|
||||
log.Info(ctx, "dropping old index %s...", index.name)
|
||||
log.Infof(ctx, "dropping old index %s...", index.name)
|
||||
if _, err := tx.NewDropIndex().
|
||||
Index(index.name).
|
||||
Exec(ctx); err != nil {
|
||||
|
|
@ -93,7 +93,7 @@ func init() {
|
|||
// Recreate the visibility indices.
|
||||
log.Info(ctx, "creating new visibility indexes...")
|
||||
for _, index := range visIndices {
|
||||
log.Info(ctx, "creating new index %s...", index.name)
|
||||
log.Infof(ctx, "creating new index %s...", index.name)
|
||||
q := tx.NewCreateIndex().
|
||||
Table("statuses").
|
||||
Index(index.name).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue