Skip to content

Commit aac2af2

Browse files
Fix variable name.
1 parent 9fd5cfc commit aac2af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

btree/immutable/cacher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (c *cacher) loadNode(t *Tr, key ID) (*Node, error) {
7070
// All found nodes are cached so subsequent calls should be faster than
7171
// the initial. This blocks until the node is loaded, but is also threadsafe.
7272
func (c *cacher) getNode(t *Tr, key ID, useCache bool) (*Node, error) {
73-
if !cache {
73+
if !useCache {
7474
return c.loadNode(t, key)
7575
}
7676

0 commit comments

Comments
 (0)