mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
chore: lint
Signed-off-by: Manik Rana <manikrana54@gmail.com>
This commit is contained in:
parent
e9391dd61f
commit
13586246bc
|
@ -31,7 +31,6 @@ func (ls Labels) Len() int { return len(ls) }
|
|||
func (ls Labels) Swap(i, j int) { ls[i], ls[j] = ls[j], ls[i] }
|
||||
func (ls Labels) Less(i, j int) bool { return ls[i].Name < ls[j].Name }
|
||||
|
||||
|
||||
// ExtractNames returns an array of all Name in ls.
|
||||
func (ls Labels) ExtractNames() []string {
|
||||
names := make([]string, len(ls))
|
||||
|
|
Loading…
Reference in a new issue