summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-08-17 13:18:04 +0100
committerNick White <git@njw.name>2021-08-17 13:18:04 +0100
commit48c68cfa7f18992b26765c7b67c52c11687ad74a (patch)
tree6194e21f03f381e1886534ca2ffd3830591bb461 /cmd
parent2bac685f600b97676de14bb850e5b087f0d54b83 (diff)
pipeline: use regular storage for tests, rather than a separate one
Diffstat (limited to 'cmd')
-rw-r--r--cmd/booktopipeline/main.go2
-rw-r--r--cmd/rescribe/main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/booktopipeline/main.go b/cmd/booktopipeline/main.go
index 1b16cee..b4f4d99 100644
--- a/cmd/booktopipeline/main.go
+++ b/cmd/booktopipeline/main.go
@@ -112,7 +112,7 @@ func main() {
}
verboselog.Println("Uploading all images are valid in", bookdir)
- err = pipeline.UploadImages(bookdir, bookname, conn, conn.WIPStorageId())
+ err = pipeline.UploadImages(bookdir, bookname, conn)
if err != nil {
log.Fatalln(err)
}
diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go
index e249138..251c333 100644
--- a/cmd/rescribe/main.go
+++ b/cmd/rescribe/main.go
@@ -362,7 +362,7 @@ func uploadbook(dir string, name string, conn Pipeliner) error {
if err != nil {
return fmt.Errorf("Error with images in %s: %v", dir, err)
}
- err = pipeline.UploadImages(dir, name, conn, conn.WIPStorageId())
+ err = pipeline.UploadImages(dir, name, conn)
if err != nil {
return fmt.Errorf("Error saving images to process from %s: %v", dir, err)
}