mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-11 16:30:12 -04:00
use correct handler in disk-mapper benchmark
This commit is contained in:
parent
00a2c9861d
commit
eb69861925
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func BenchmarkMapper(b *testing.B) {
|
|||
}
|
||||
|
||||
passphrase := "benchmark"
|
||||
mapper, free, err := diskencryption.New(testPath, slog.New(slog.NewPlainTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo})))
|
||||
mapper, free, err := diskencryption.New(testPath, slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo})))
|
||||
if err != nil {
|
||||
b.Fatal("Failed to create mapper:", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue