mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 23:42:32 +00:00
vendor: Update github.com/prometheus/tsdb
This commit is contained in:
parent
cfa0253ed8
commit
46693444de
6
vendor/github.com/prometheus/tsdb/db.go
generated
vendored
6
vendor/github.com/prometheus/tsdb/db.go
generated
vendored
@ -299,7 +299,11 @@ func (db *DB) retentionCutoff() (bool, error) {
|
||||
}
|
||||
|
||||
// This will close the dirs and then delete the dirs.
|
||||
return len(dirs) > 0, db.reload(dirs...)
|
||||
if len(dirs) > 0 {
|
||||
return true, db.reload(dirs...)
|
||||
}
|
||||
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// Appender opens a new appender against the database.
|
||||
|
6
vendor/vendor.json
vendored
6
vendor/vendor.json
vendored
@ -800,10 +800,10 @@
|
||||
"revisionTime": "2016-04-11T19:08:41Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "errrSfk16j274D3QY61bWODd56c=",
|
||||
"checksumSHA1": "5mCM640B2xa7y+kRRUeVCglEk7o=",
|
||||
"path": "github.com/prometheus/tsdb",
|
||||
"revision": "ad0fdaf436fc99828bce60f81984dcfa3a282a44",
|
||||
"revisionTime": "2018-01-24T14:58:35Z"
|
||||
"revision": "44dd5e1202b7598d50c69ce3617ca6ae6503cf52",
|
||||
"revisionTime": "2018-01-26T14:54:38Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "XTirmk6Pq5TBGIZEaN5VL4k3i1s=",
|
||||
|
Loading…
Reference in New Issue
Block a user