mirror of
https://github.com/rclone/rclone
synced 2024-12-27 19:43:48 +01:00
b2: fix nil pointer error introduced by context propagation patch
For some reason f78cd1e043
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…
Reference in New Issue
Block a user