summaryrefslogtreecommitdiff
path: root/imagestore/s3store.go
diff options
context:
space:
mode:
authorHorus32015-08-01 23:56:26 +0200
committerHorus32015-08-01 23:56:26 +0200
commit6afcbc7ba57d80bacace21b6e73ca474dd8217ca (patch)
tree41df2c31d4333a47b8d6c97eb061626e69f08841 /imagestore/s3store.go
parentf80efe5616ba247a1fff074b0876631a9bfb6f96 (diff)
downloadmandible-6afcbc7ba57d80bacace21b6e73ca474dd8217ca.tar.gz
Satisfy imagestore interface
Diffstat (limited to 'imagestore/s3store.go')
-rw-r--r--imagestore/s3store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/imagestore/s3store.go b/imagestore/s3store.go
index e023fcc..c31a45f 100644
--- a/imagestore/s3store.go
+++ b/imagestore/s3store.go
@@ -31,7 +31,7 @@ func (this *S3ImageStore) Exists(obj *StoreObject) (bool, error) {
return (response.StatusCode == 200), nil
}
-func (this *S3ImageStore) Save(src string, obj *StoreObject) (*StoreObject, error) {
+func (this *S3ImageStore) Save(src string, obj *StoreObject, url string) (*StoreObject, error) {
bucket := this.client.Bucket(this.bucketName)
data, err := ioutil.ReadFile(src)