Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ Validate
Method
Validate
pkg/chunk/cache/fifo_cache.go:49–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
func
(cfg *FifoCacheConfig) Validate() error {
50
_, err := parsebytes(cfg.MaxSizeBytes)
51
return
err
52
}
53
54
func
parsebytes(s string) (uint64, error) {
55
if
len(s) == 0 {
Callers
nothing calls this directly
Calls
1
parsebytes
Function · 0.85
Tested by
no test coverage detected