storagenode/pieces: tidying trash log

This commit is contained in:
nerdatwork 2020-09-24 14:25:06 +05:30 committed by GitHub
parent 9d0d0ad728
commit 870abd8676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ func (chore *TrashChore) Run(ctx context.Context) (err error) {
chore.cycle = sync2.NewCycle(chore.interval)
chore.cycle.Start(ctx, &errgroup.Group{}, func(ctx context.Context) error {
chore.log.Debug("starting emptying trash")
chore.log.Debug("starting to empty trash")
for _, satelliteID := range chore.trust.GetSatellites(ctx) {
trashedBefore := time.Now().Add(-chore.trashExpiryInterval)