mirror of
https://github.com/nkanaev/yarr.git
synced 2025-12-15 16:40:04 +00:00
refactoring
This commit is contained in:
@@ -324,5 +324,7 @@ func (s *Storage) DeleteOldItems() {
|
||||
s.log.Print(err)
|
||||
return
|
||||
}
|
||||
s.log.Printf("Deleted %d items\n", num)
|
||||
if num > 0 {
|
||||
s.log.Printf("Deleted %d old items\n", num)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user