mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Fix main build (#8948)
Was broken after the merge of #8824 Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
202446955a
commit
b1c179be85
|
@ -3173,7 +3173,7 @@ func TestLockfileMetric(t *testing.T) {
|
|||
opts.NoLockfile = c.lockFileDisabled
|
||||
|
||||
// Create the DB, this should create a lockfile and the metrics
|
||||
db, err := Open(tmpdir, nil, nil, opts)
|
||||
db, err := Open(tmpdir, nil, nil, opts, nil)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, float64(c.expectedValue), prom_testutil.ToFloat64(db.metrics.lockfileCreatedCleanly))
|
||||
|
||||
|
|
Loading…
Reference in a new issue