mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -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,
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
func (s vectorByValueHeap) Len() int {
|
||||
|
|
Loading…
Reference in a new issue