Skip to content

Commit 04ff37d

Browse files
committed
bump
Signed-off-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com>
1 parent be04593 commit 04ff37d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/dmt/root.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import (
3434
"github.com/deckhouse/dmt/internal/bootstrap"
3535
"github.com/deckhouse/dmt/internal/flags"
3636
"github.com/deckhouse/dmt/internal/fsutils"
37-
"github.com/deckhouse/dmt/internal/logger"
3837
"github.com/deckhouse/dmt/internal/test"
3938
"github.com/deckhouse/dmt/internal/test/conversions"
4039
"github.com/deckhouse/dmt/internal/version"
@@ -231,7 +230,7 @@ func testCmdFunc(_ *cobra.Command, args []string) error {
231230
}
232231

233232
func runTests(dir string) error {
234-
logger.InfoF("Running tests for: %s", dir)
233+
log.Info("Running tests", slog.String("directory", dir))
235234

236235
// Create test runner and register testers
237236
runner := test.NewRunner()
@@ -251,7 +250,8 @@ func runTests(dir string) error {
251250
// Run tests
252251
summary, err := runner.Run(opts)
253252
if err != nil {
254-
logger.ErrorF("Test execution failed: %v", err)
253+
log.Error("Test execution failed", log.Err(err))
254+
255255
return err
256256
}
257257

0 commit comments

Comments
 (0)