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