client: Set the client var in the correct scope
This commit is contained in:
parent
f2ab316fb1
commit
dfe8a1c1e2
@ -594,7 +594,7 @@ func (a *API) clientRetrieve(ctx context.Context, order api.RetrievalOrder, ref
|
||||
return
|
||||
}
|
||||
|
||||
store, err := a.RetrievalStoreMgr.NewStore()
|
||||
store, err = a.RetrievalStoreMgr.NewStore()
|
||||
if err != nil {
|
||||
finish(xerrors.Errorf("Error setting up new store: %w", err))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user