wip
This commit is contained in:
parent
bcbca9c41b
commit
cc825b14da
@ -120,6 +120,9 @@ func (c *client) Execute(ctx context.Context, action func(context.Context, *Tran
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "init transaction options")
|
return nil, errors.Wrap(err, "init transaction options")
|
||||||
}
|
}
|
||||||
|
for _, opt := range opts {
|
||||||
|
auth = opt(auth)
|
||||||
|
}
|
||||||
tx, err := action(localctx, auth)
|
tx, err := action(localctx, auth)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "executing waitable action")
|
return nil, errors.Wrap(err, "executing waitable action")
|
||||||
|
Loading…
Reference in New Issue
Block a user