re-wire logging on top of zerolog

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-01-13 17:38:16 -08:00
parent 49f0c0e149
commit e09723861f
19 changed files with 270 additions and 111 deletions

View File

@@ -1,6 +1,7 @@
package dagger
import (
"context"
"testing"
)
@@ -31,7 +32,7 @@ func TestValidateSimpleComponent(t *testing.T) {
t.Fatal(err)
}
n := 0
if err := s.Walk(func(op *Op) error {
if err := s.Walk(context.TODO(), func(op *Op) error {
n++
return nil
}); err != nil {