Skip to content

Commit

Permalink
fix print
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe committed Apr 9, 2024
1 parent d478fa8 commit 636ce74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impl/pkg/service/pkarr.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (s *PkarrService) republish() {
return
}

logrus.WithField("record_count", len(allRecords)).Info("republishing records in batch: %d", batchCnt)
logrus.WithField("record_count", len(allRecords)).Infof("republishing records in batch: %d", batchCnt)
batchCnt++

for _, record := range allRecords {
Expand All @@ -232,5 +232,5 @@ func (s *PkarrService) republish() {
"success": len(allRecords) - errCnt,
"errors": errCnt,
"total": len(allRecords),
}).Info("republishing complete with [%d] batches", batchCnt)
}).Infof("republishing complete with [%d] batches", batchCnt)
}

0 comments on commit 636ce74

Please sign in to comment.