projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
20680: Fix nginx_balancer_configuration & add note about defaults
[arvados.git]
/
lib
/
ctrlctx
/
db.go
diff --git
a/lib/ctrlctx/db.go
b/lib/ctrlctx/db.go
index b711b3e650cb2f1c19825c71683cc3817b9abd59..d33fd8ab53cfe1525a65329d1a5f0cfa2b9c7214 100644
(file)
--- 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)