From eb11d912bdb6edffa6acd5cb877ce28e279253c5 Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Wed, 24 Jan 2018 16:11:34 +0100 Subject: [PATCH] vendor: update tsdb --- vendor/github.com/prometheus/tsdb/compact.go | 2 +- vendor/vendor.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/github.com/prometheus/tsdb/compact.go b/vendor/github.com/prometheus/tsdb/compact.go index f96e64394..b82d9a04c 100644 --- a/vendor/github.com/prometheus/tsdb/compact.go +++ b/vendor/github.com/prometheus/tsdb/compact.go @@ -428,10 +428,10 @@ func (c *LeveledCompactor) write(dest string, meta *BlockMeta, blocks ...BlockRe } indexw, err := index.NewWriter(filepath.Join(tmp, indexFilename)) - meta.Version = indexw.Version if err != nil { return errors.Wrap(err, "open index writer") } + meta.Version = indexw.Version if err := c.populateBlock(blocks, meta, indexw, chunkw); err != nil { return errors.Wrap(err, "write compaction") diff --git a/vendor/vendor.json b/vendor/vendor.json index aa5d16654..ca6190896 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -800,10 +800,10 @@ "revisionTime": "2016-04-11T19:08:41Z" }, { - "checksumSHA1": "XHNJVYnIBaFpQOOA4wTqjDbMkUo=", + "checksumSHA1": "errrSfk16j274D3QY61bWODd56c=", "path": "github.com/prometheus/tsdb", - "revision": "467948f3c3f2f6f4ed9881afba27dd3ae24393eb", - "revisionTime": "2018-01-18T08:32:54Z" + "revision": "ad0fdaf436fc99828bce60f81984dcfa3a282a44", + "revisionTime": "2018-01-24T14:58:35Z" }, { "checksumSHA1": "XTirmk6Pq5TBGIZEaN5VL4k3i1s=",