c0651e77fc
Previously, any error returned from w.Close() would be ignored. This is a problem since this function is responsible for returning any error that occurred during the actual GCS transaction. This fix also uncovered an issue in the corresponding test routine. Furthermore, a "404 Not Found" error when writing an object is now interpreted as if the bucket does not exist to ease debugging (see https://github.com/tus/tusd/issues/241). /cc @tab1293 |
||
---|---|---|
.. | ||
gcsservice.go | ||
gcsservice_test.go | ||
gcsstore.go | ||
gcsstore_mock_test.go | ||
gcsstore_test.go |