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:
Nick Craig-Wood 2019-06-28 22:38:41 +01:00
parent cd762f04b8
commit 07e2c3a50f

View File

@ -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