refactoring
This commit is contained in:
parent
b223233318
commit
9b04353c4a
6 changed files with 62 additions and 23 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue