Fix main build (#8948)

Was broken after the merge of #8824

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2021-06-16 17:18:32 +02:00 committed by GitHub
parent 202446955a
commit b1c179be85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))