"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
googlephotos: fix nil pointer crash on upload - fixes #8233
Nick Craig-Wood2f66537514fc
diff --git a/backend/googlephotos/googlephotos.go b/backend/googlephotos/googlephotos.goindex 33ee41a2e..2a2c7eb49 100644--- a/backend/googlephotos/googlephotos.go+++ b/backend/googlephotos/googlephotos.go@@ -1168,7 +1168,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, operrors := make([]error, 1)results := make([]*api.MediaItem, 1)err = o.fs.commitBatch(ctx, []uploadedItem{uploaded}, results, errors)- if err != nil {+ if err == nil {err = errors[0]info = results[0]}