mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 10:13:52 +08: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