forked from TrueCloudLab/frostfs-http-gw
[#131] Update sdk-go to fix pool issues
New version provides these pool changes: * bugfix for error counting before connection switch, * explicit endpoint address in tree pool log messages. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
f20ea67b46
commit
c5b26fff94
4 changed files with 10 additions and 10 deletions
|
@ -522,10 +522,10 @@ func putObject(ctx context.Context, t *testing.T, clientPool *pool.Pool, ownerID
|
|||
prm.SetHeader(*obj)
|
||||
prm.SetPayload(bytes.NewBufferString(content))
|
||||
|
||||
id, err := clientPool.PutObject(ctx, prm)
|
||||
res, err := clientPool.PutObject(ctx, prm)
|
||||
require.NoError(t, err)
|
||||
|
||||
return id
|
||||
return res.ObjectID
|
||||
}
|
||||
|
||||
func makeBearerToken(t *testing.T, key *keys.PrivateKey, ownerID user.ID, version string) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue