diff --git a/pkg/pool/pool.go b/pkg/pool/pool.go index a8b36424..c1265ea1 100644 --- a/pkg/pool/pool.go +++ b/pkg/pool/pool.go @@ -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) {