From f98853d7b7a6038099f434e94db611ab6734141f Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 6 Jun 2013 18:14:47 +0200 Subject: [PATCH] Fix type error in watermark list handling. --- storage/metric/watermark.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/metric/watermark.go b/storage/metric/watermark.go index c58fb0ce0e..040619ff2c 100644 --- a/storage/metric/watermark.go +++ b/storage/metric/watermark.go @@ -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() }