summaryrefslogtreecommitdiff
path: root/util/db/dbutil.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/db/dbutil.go')
-rw-r--r--util/db/dbutil.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/db/dbutil.go b/util/db/dbutil.go
index ed2ac8897..410bfb0c1 100644
--- a/util/db/dbutil.go
+++ b/util/db/dbutil.go
@@ -177,7 +177,7 @@ func Retry(fn func() error) (err error) {
return LoggedRetry(fn, logging.Base())
}
-// getDecoratedLogger retruns a decorated logger that includes the readonly true/false, caller and extra fields.
+// getDecoratedLogger returns a decorated logger that includes the readonly true/false, caller and extra fields.
func (db *Accessor) getDecoratedLogger(fn idemFn, extras ...interface{}) logging.Logger {
log := db.logger().With("readonly", db.readOnly)
_, file, line, ok := runtime.Caller(3)