Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Nov 28, 2024
1 parent ce17139 commit b6bb793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/datastore/proxy/schemacaching/standardcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ func listAndCache[T schemaDefinition](
remainingToLoad.Delete(name)

if loaded.notFound != nil {
// If the value was in the cache, but it was nil (implying that
// it was undefined on a previous lookup), we pass over it.
// If the value was in the cache, but its notFound is defined (implying that
// it was not found on a previous lookup), we pass over it.
// We still remove it from the `remainingToLoad` set because
// we don't want to go to the datastore for it.
continue
Expand Down

0 comments on commit b6bb793

Please sign in to comment.