diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/booktopipeline/main.go | 2 | ||||
-rw-r--r-- | cmd/rescribe/main.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/booktopipeline/main.go b/cmd/booktopipeline/main.go index b4f4d99..1b16cee 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) + err = pipeline.UploadImages(bookdir, bookname, conn, conn.WIPStorageId()) if err != nil { log.Fatalln(err) } 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) } |