Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

b2: fix nil pointer error introduced by context propagation patch

Nick Craig-Wood07e2c3a50f09
diff --git a/backend/b2/b2.go b/backend/b2/b2.go
index 9bbcbfa50..65e643a11 100644
--- a/backend/b2/b2.go
+++ b/backend/b2/b2.go
@@ -1210,9 +1210,6 @@ func (o *Object) decodeMetaDataFileInfo(info *api.FileInfo) (err error) {
// getMetaData gets the metadata from the object unconditionally
func (o *Object) getMetaData(ctx context.Context) (info *api.File, err error) {
- if o.id != "" {
- return nil, nil
- }
maxSearched := 1
var timestamp api.Timestamp
baseRemote := o.remote