MCPcopy Create free account
hub / github.com/cortexproject/cortex / getLimitFromLabelHints

Function getLimitFromLabelHints

pkg/distributor/distributor.go:1793–1798  ·  view source on GitHub ↗
(hints *storage.LabelHints)

Source from the content-addressed store, hash-verified

1791}
1792
1793func getLimitFromLabelHints(hints *storage.LabelHints) int {
1794 if hints != nil {
1795 return hints.Limit
1796 }
1797 return 0
1798}
1799
1800func getLimitFromSelectHints(hints *storage.SelectHints) int {
1801 if hints != nil {

Callers 2

LabelNamesCommonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected