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
1 changed files with 0 additions and 3 deletions
|
@ -1210,9 +1210,6 @@ func (o *Object) decodeMetaDataFileInfo(info *api.FileInfo) (err error) {
|
||||||
|
|
||||||
// getMetaData gets the metadata from the object unconditionally
|
// getMetaData gets the metadata from the object unconditionally
|
||||||
func (o *Object) getMetaData(ctx context.Context) (info *api.File, err error) {
|
func (o *Object) getMetaData(ctx context.Context) (info *api.File, err error) {
|
||||||
if o.id != "" {
|
|
||||||
return nil, nil
|
|
||||||
}
|
|
||||||
maxSearched := 1
|
maxSearched := 1
|
||||||
var timestamp api.Timestamp
|
var timestamp api.Timestamp
|
||||||
baseRemote := o.remote
|
baseRemote := o.remote
|
||||||
|
|
Loading…
Reference in a new issue