summaryrefslogtreecommitdiff
path: root/cmd/gotosocial/action/admin/media/prune/orphaned.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gotosocial/action/admin/media/prune/orphaned.go')
-rw-r--r--cmd/gotosocial/action/admin/media/prune/orphaned.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gotosocial/action/admin/media/prune/orphaned.go b/cmd/gotosocial/action/admin/media/prune/orphaned.go
index d8dcec9a4..31196531b 100644
--- a/cmd/gotosocial/action/admin/media/prune/orphaned.go
+++ b/cmd/gotosocial/action/admin/media/prune/orphaned.go
@@ -42,9 +42,9 @@ var Orphaned action.GTSAction = func(ctx context.Context) error {
}
if dry /* dick heyyoooooo */ {
- log.Infof("DRY RUN: %d items are orphaned and eligible to be pruned", pruned)
+ log.Infof(ctx, "DRY RUN: %d items are orphaned and eligible to be pruned", pruned)
} else {
- log.Infof("%d orphaned items were pruned", pruned)
+ log.Infof(ctx, "%d orphaned items were pruned", pruned)
}
return prune.shutdown(ctx)