mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Add line that has mysteriously disappeared after rebase.
Change-Id: I3612eb0b626e66e607b363e9801f187d2ba637a3
This commit is contained in:
parent
1491fb9370
commit
9bc05052ad
|
@ -132,6 +132,7 @@ func (l *LevelDB) Commit(b Batch) error {
|
|||
return l.storage.Write(b.(*LevelDBBatch).batch, l.writeOpts)
|
||||
}
|
||||
|
||||
// ForEach implements KeyValueStore.
|
||||
func (l *LevelDB) ForEach(cb func(kv KeyValueAccessor) error) error {
|
||||
snap, err := l.storage.GetSnapshot()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue