X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6ddd57f1da6139b76db95ad16cccbb95eab01e5d..aeb2b25c254f8e98a67c0cc3e6cd8cdadcb8bd36:/lib/ctrlctx/db.go?ds=inline diff --git a/lib/ctrlctx/db.go b/lib/ctrlctx/db.go index b711b3e650..d33fd8ab53 100644 --- a/lib/ctrlctx/db.go +++ b/lib/ctrlctx/db.go @@ -69,7 +69,7 @@ type finishFunc func(*error) // commit or rollback the transaction, if any. // // func example(ctx context.Context) (err error) { -// ctx, finishtx := New(ctx, dber) +// ctx, finishtx := New(ctx, getdb) // defer finishtx(&err) // // ... // tx, err := CurrentTx(ctx)