ProfouzorsLinx/backends
mutantmonkey 50c1bdc018 Fix S3 uploads (#178)
My previous change that reworked how metadata generation worked was not
correct for two reasons:

* It passed the original `io.Reader` (with no bytes remaining) to
  `GenerateMetadata`
* It did not seek back to the beginning of the temporary file after
  writing to it, causing any subsequent reads to return EOF.

This change fixes both issues and S3 uploads now work fine. We really
ought to investigate adding test coverage to our S3 backend to avoid
similar recurrences.
2019-06-04 18:35:52 +02:00
..
localfs Add PutMetadata function to storage backends (#171) 2019-04-09 13:28:18 -07:00
s3 Fix S3 uploads (#178) 2019-06-04 18:35:52 +02:00
meta.go Add S3 backend (#156) 2019-01-24 23:33:11 -08:00
storage.go Add PutMetadata function to storage backends (#171) 2019-04-09 13:28:18 -07:00