forked from TrueCloudLab/frostfs-sdk-go
[#288] pool: Fix lost err in fmt.Errorf
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
ab4d1e34a8
commit
86a447bc80
1 changed files with 1 additions and 1 deletions
|
@ -1403,7 +1403,7 @@ func (p *Pool) PutObject(ctx context.Context, prm PrmObjectPut) (*oid.ID, error)
|
|||
ctxCall.Context = ctx
|
||||
|
||||
if err := p.initCallContext(&ctxCall, prm.prmCommon, prmCtx); err != nil {
|
||||
return nil, fmt.Errorf("init call context")
|
||||
return nil, fmt.Errorf("init call context: %w", err)
|
||||
}
|
||||
|
||||
if ctxCall.sessionDefault {
|
||||
|
|
Loading…
Reference in a new issue