Skip to content

Commit

Permalink
multi: fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Nov 19, 2024
1 parent e8065e4 commit 67b1928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -4951,7 +4951,7 @@ func (r *rpcServer) AssetLeafKeys(ctx context.Context,
}

if req.Limit > universe.MaxPageSize || req.Limit < 0 {
return nil, fmt.Errorf("invalid request limit")
return nil, fmt.Errorf("invalid request limit: %d", req.Limit)
}

// Check the rate limiter to see if we need to wait at all. If not then
Expand Down
2 changes: 1 addition & 1 deletion tapdb/multiverse_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ func (u *universeLeafPageCache) cacheLeafKeys(q universe.UniverseLeafKeysQuery,

// wipeCache wipes the cache of leaf keys for a given universe ID.
func (u *universeLeafPageCache) wipeCache(id universeIDKey) {
log.Debugf("wiping leaf keys for %x in cache", id)
log.Debugf("wiping leaf keys for %s in cache", id)

u.leafCache.Delete(id)
}

0 comments on commit 67b1928

Please sign in to comment.