Skip to content

Commit

Permalink
remove return error from Size()
Browse files Browse the repository at this point in the history
  • Loading branch information
timl3136 committed Feb 20, 2025
1 parent 08a646d commit 73ab21e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ type DomainMetricsScopeCache interface {

// Sizeable is a interface that implements Size() function
type Sizeable interface {
// Size returns an approximate size of the object in bytes, or error if the size could not be calculated
Size() (uint64, error)
// Size returns an approximate size of the object in bytes
Size() uint64
}

0 comments on commit 73ab21e

Please sign in to comment.