mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Remove unused function
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
This commit is contained in:
parent
43d206f0a1
commit
b93845d6bf
|
@ -920,12 +920,6 @@ var FunctionCalls = map[string]FunctionCall{
|
||||||
"year": funcYear,
|
"year": funcYear,
|
||||||
}
|
}
|
||||||
|
|
||||||
// getFunction returns a predefined Function object for the given name.
|
|
||||||
func getFunctionCall(name string) (FunctionCall, bool) {
|
|
||||||
function, ok := FunctionCalls[name]
|
|
||||||
return function, ok
|
|
||||||
}
|
|
||||||
|
|
||||||
type vectorByValueHeap Vector
|
type vectorByValueHeap Vector
|
||||||
|
|
||||||
func (s vectorByValueHeap) Len() int {
|
func (s vectorByValueHeap) Len() int {
|
||||||
|
|
Loading…
Reference in a new issue