Skip to content

Commit d730c8c

Browse files
committed
cmd/sumdb-warmup: fix staticcheck deprecation warning
1 parent 147243f commit d730c8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/sumdb-warmup/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func main() {
4040
if err != nil {
4141
panic(err)
4242
}
43-
client, err := torchwood.NewClient(dirCache, torchwood.WithSumDBEntries())
43+
client, err := torchwood.NewClient(dirCache, torchwood.WithCutEntry(torchwood.ReadSumDBEntry))
4444
if err != nil {
4545
panic(err)
4646
}

0 commit comments

Comments
 (0)