fix linter warning
This commit is contained in:
parent
fd579421dd
commit
f0e1ad2285
2 changed files with 6 additions and 6 deletions
|
@ -117,7 +117,7 @@ func testRepairBrokenPack(t *testing.T, version uint) {
|
|||
rtest.OK(t, repository.RepairPacks(context.TODO(), repo, toRepair, &progress.NoopPrinter{}))
|
||||
// reload index
|
||||
rtest.OK(t, repo.SetIndex(index.NewMasterIndex()))
|
||||
repo.LoadIndex(context.TODO(), nil)
|
||||
rtest.OK(t, repo.LoadIndex(context.TODO(), nil))
|
||||
|
||||
packsAfter := listPacks(t, repo)
|
||||
blobsAfter := listBlobs(repo)
|
||||
|
|
|
@ -17,14 +17,14 @@ type NoopPrinter struct{}
|
|||
|
||||
var _ Printer = (*NoopPrinter)(nil)
|
||||
|
||||
func (*NoopPrinter) NewCounter(description string) *Counter {
|
||||
func (*NoopPrinter) NewCounter(_ string) *Counter {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (*NoopPrinter) E(msg string, args ...interface{}) {}
|
||||
func (*NoopPrinter) E(_ string, _ ...interface{}) {}
|
||||
|
||||
func (*NoopPrinter) P(msg string, args ...interface{}) {}
|
||||
func (*NoopPrinter) P(_ string, _ ...interface{}) {}
|
||||
|
||||
func (*NoopPrinter) V(msg string, args ...interface{}) {}
|
||||
func (*NoopPrinter) V(_ string, _ ...interface{}) {}
|
||||
|
||||
func (*NoopPrinter) VV(msg string, args ...interface{}) {}
|
||||
func (*NoopPrinter) VV(_ string, _ ...interface{}) {}
|
||||
|
|
Loading…
Reference in a new issue