Fix: Metric sorting comparators.
There was an oversight that resulted in indefinite recursion.
This commit is contained in:
parent
024b00bcef
commit
6b26678f98
|
@ -40,7 +40,7 @@ func (m Metric) Before(o Metric) bool {
|
|||
lFingerprint.LoadFromMetric(m)
|
||||
rFingerprint.LoadFromMetric(o)
|
||||
|
||||
return m.Before(o)
|
||||
return lFingerprint.Less(rFingerprint)
|
||||
}
|
||||
|
||||
func (m Metric) String() string {
|
||||
|
|
Loading…
Reference in New Issue