X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9b0de8314d6297df506734844bb2b833ba7d022c..f5c6eb8491fb0d0a94bc1699ad7d84b054e0fec0:/lib/ctrlctx/db.go 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)