summaryrefslogtreecommitdiff
path: root/cmd/rescribe/main.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-08-02 10:45:53 +0100
committerNick White <git@njw.name>2021-08-02 10:45:53 +0100
commit4b7a4bd1b87d1dbba283e577aa03ce7e390d85d8 (patch)
treee5e7e55763cfbfd74e651a4ba5bea5b7394a93a9 /cmd/rescribe/main.go
parent5310a5e77e945debdc7bd6f149ba87fab13902db (diff)
internal/pipeline: Add test (incomplete but working) for UploadImages
Diffstat (limited to 'cmd/rescribe/main.go')
-rw-r--r--cmd/rescribe/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go
index 251c333..e249138 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)
+ err = pipeline.UploadImages(dir, name, conn, conn.WIPStorageId())
if err != nil {
return fmt.Errorf("Error saving images to process from %s: %v", dir, err)
}