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=",