mirror of
https://github.com/prometheus/prometheus
synced 2025-01-13 10:22:46 +00:00
Add comment.
This commit is contained in:
parent
ee011d906d
commit
e8c264e47a
@ -38,6 +38,7 @@ func (s *Storage) Add(l labels.Labels, t int64, v float64) (uint64, error) {
|
|||||||
return 0, nil
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AddFast implements storage.Appender.
|
||||||
func (s *Storage) AddFast(l labels.Labels, _ uint64, t int64, v float64) error {
|
func (s *Storage) AddFast(l labels.Labels, _ uint64, t int64, v float64) error {
|
||||||
_, err := s.Add(l, t, v)
|
_, err := s.Add(l, t, v)
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user