Delete MustLoadFromString, as nobody needs it.
Change-Id: Ib95c316857ffdd36d973c0e8701967de99d78b13
This commit is contained in:
parent
bfd70e3280
commit
115bde9c47
|
@ -49,13 +49,6 @@ func (f *Fingerprint) LoadFromString(s string) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// MustLoadFromString works like LoadFromString but panics in case of an error.
|
|
||||||
func (f *Fingerprint) MustLoadFromString(s string) {
|
|
||||||
if err := f.LoadFromString(s); err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// LoadFromMetric decomposes a Metric into this Fingerprint
|
// LoadFromMetric decomposes a Metric into this Fingerprint
|
||||||
func (f *Fingerprint) LoadFromMetric(m Metric) {
|
func (f *Fingerprint) LoadFromMetric(m Metric) {
|
||||||
labelLength := len(m)
|
labelLength := len(m)
|
||||||
|
|
Loading…
Reference in New Issue