mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-04 23:35:11 -04:00
deps: convert zap to slog (#2825)
This commit is contained in:
parent
3765cb0762
commit
54cce77bab
182 changed files with 1474 additions and 1509 deletions
|
@ -12,6 +12,7 @@ import (
|
|||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
|
@ -103,7 +104,7 @@ func TestMapper(t *testing.T) {
|
|||
require.NoError(setup(1), "failed to setup test disk")
|
||||
defer func() { require.NoError(teardown(), "failed to delete test disk") }()
|
||||
|
||||
mapper, free, err := diskencryption.New(devicePath, logger.NewTest(t))
|
||||
mapper, free, err := diskencryption.New(devicePath, logger.NewTextLogger(slog.LevelInfo))
|
||||
require.NoError(err, "failed to initialize crypt device")
|
||||
defer free()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue