mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Fix type error in watermark list handling.
This commit is contained in:
parent
6b2be5024e
commit
f98853d7b7
|
@ -119,7 +119,7 @@ func (lru *WatermarkCache) Clear() {
|
|||
}
|
||||
|
||||
func (lru *WatermarkCache) updateInplace(e *list.Element, w *Watermarks) {
|
||||
e.Value = w
|
||||
e.Value.(*entry).watermarks = w
|
||||
lru.moveToFront(e)
|
||||
lru.checkCapacity()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue