diff options
author | Nick White <git@njw.name> | 2019-09-05 09:40:35 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-09-05 09:40:35 +0100 |
commit | 70c1c0f0148ea173331f4f6d40274e3b95e3ce41 (patch) | |
tree | e601f13c735d624a7db4540ad64a62528b78295f /bookpipeline/cmd/getpipelinebook/main.go | |
parent | c47e27ee5146b8c2dcf058ed58270ce691b43ff7 (diff) |
Update Pipeliner interface in getpipelinebook, and update some comments
Diffstat (limited to 'bookpipeline/cmd/getpipelinebook/main.go')
-rw-r--r-- | bookpipeline/cmd/getpipelinebook/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bookpipeline/cmd/getpipelinebook/main.go b/bookpipeline/cmd/getpipelinebook/main.go index 9d0e35e..55401e6 100644 --- a/bookpipeline/cmd/getpipelinebook/main.go +++ b/bookpipeline/cmd/getpipelinebook/main.go @@ -24,7 +24,7 @@ type Pipeliner interface { ListObjects(bucket string, prefix string) ([]string, error) Download(bucket string, key string, fn string) error Upload(bucket string, key string, path string) error - CheckQueue(url string) (bookpipeline.Qmsg, error) + CheckQueue(url string, timeout int64) (bookpipeline.Qmsg, error) AddToQueue(url string, msg string) error DelFromQueue(url string, handle string) error WIPStorageId() string |