summaryrefslogtreecommitdiff
path: root/internal/queue/queue.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-05-17 17:44:43 +0300
committerPaul Buetow <paul@buetow.org>2025-05-17 17:44:43 +0300
commitc6a8599f5c7bc92da8c010beb8d5f3f012080063 (patch)
tree1fa4970cc3fbae297f878c5253866210a2bb03d6 /internal/queue/queue.go
parent8b9a8ab940541b9c63e8f9ce1a66555619f17412 (diff)
special case Noop platform
Diffstat (limited to 'internal/queue/queue.go')
-rw-r--r--internal/queue/queue.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/queue/queue.go b/internal/queue/queue.go
index 397c438..4a1b266 100644
--- a/internal/queue/queue.go
+++ b/internal/queue/queue.go
@@ -23,7 +23,7 @@ func Run(args config.Args) error {
if err := queueEntries(args); err != nil {
return err
}
- if err := queuePlatforms(args); err != nil {
+ if err := queueEntriesToPlatforms(args); err != nil {
return err
}
return nil
@@ -73,7 +73,7 @@ func queueEntries(args config.Args) error {
// Queue all ./db/queued/*.txt.STAMP.queued into ./db/platforms/PLATFORM/*.txt.STAMP.queued
// for each PLATFORM
-func queuePlatforms(args config.Args) error {
+func queueEntriesToPlatforms(args config.Args) error {
dbDir := filepath.Join(args.GosDir, "db")
ch, err := oi.ReadDirCh(dbDir, find(dbDir, ".queued"))
if err != nil {