mirror of
https://github.com/rclone/rclone.git
synced 2025-03-23 04:34:32 +02:00
b2: fix nil pointer error introduced by context propagation patch
For some reason f78cd1e0434ee597 introduced an unrelated change - perhaps a merge error. Removing this change fixes the nil pointer problem.
This commit is contained in:
parent
cd762f04b8
commit
07e2c3a50f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user