forked from TrueCloudLab/frostfs-sdk-go
Merge pull request #22 from masterSplinter01/fix/session-token-overlap
Change order of CallOptions in return of pool.conn
This commit is contained in:
commit
0348eb331c
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ func (p *pool) conn(option []client.CallOption) (client.Client, []client.CallOpt
|
|||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
return conn, append(option, client.WithSession(token)), nil
|
||||
return conn, append([]client.CallOption{client.WithSession(token)}, option...), nil
|
||||
}
|
||||
|
||||
func (p *pool) PutObject(ctx context.Context, params *client.PutObjectParams, option ...client.CallOption) (*object.ID, error) {
|
||||
|
|
Loading…
Reference in a new issue