diff options
| author | Horus3 | 2015-08-01 23:56:26 +0200 |
|---|---|---|
| committer | Horus3 | 2015-08-01 23:56:26 +0200 |
| commit | 6afcbc7ba57d80bacace21b6e73ca474dd8217ca (patch) | |
| tree | 41df2c31d4333a47b8d6c97eb061626e69f08841 /imagestore/gcsstore.go | |
| parent | f80efe5616ba247a1fff074b0876631a9bfb6f96 (diff) | |
| download | mandible-6afcbc7ba57d80bacace21b6e73ca474dd8217ca.tar.gz | |
Satisfy imagestore interface
Diffstat (limited to 'imagestore/gcsstore.go')
| -rw-r--r-- | imagestore/gcsstore.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imagestore/gcsstore.go b/imagestore/gcsstore.go index 798d4eb..67da3d7 100644 --- a/imagestore/gcsstore.go +++ b/imagestore/gcsstore.go @@ -32,7 +32,7 @@ func (this *GCSImageStore) Exists(obj *StoreObject) (bool, error) { return true, nil } -func (this *GCSImageStore) Save(src string, obj *StoreObject) (*StoreObject, error) { +func (this *GCSImageStore) Save(src string, obj *StoreObject, url string) (*StoreObject, error) { data, err := ioutil.ReadFile(src) if err != nil { log.Printf("error on read file: %s", err) |
