diff options
| author | Paul Buetow <paul@buetow.org> | 2024-09-22 16:22:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-09-22 16:22:48 +0300 |
| commit | aa1a599f105850e41954ac22de05bf381cfa0d9a (patch) | |
| tree | 6ae2222d74b82f7cac4f6c94c90b620b723b1070 /internal/queue/queue.go | |
| parent | f0b5e99a7f8c1833e2a936188c2358eab7f78d1d (diff) | |
can queue
Diffstat (limited to 'internal/queue/queue.go')
| -rw-r--r-- | internal/queue/queue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/queue/queue.go b/internal/queue/queue.go index a5ed77c..66b7c38 100644 --- a/internal/queue/queue.go +++ b/internal/queue/queue.go @@ -40,7 +40,7 @@ func queueEntries(args config.Args) error { for filePath := range ch { destPath := fmt.Sprintf("%s/db/%s.%s.queued", args.GosDir, filepath.Base(filePath), now.Format("20060102-150405")) - if err := os.Rename(filePath, destPath); err != nil { + if err := oi.Rename(filePath, destPath); err != nil { return err } } |
