diff --git a/pkg/skaffold/runner/runner.go b/pkg/skaffold/runner/runner.go index 48f5c5a9d9a..641fae208c8 100644 --- a/pkg/skaffold/runner/runner.go +++ b/pkg/skaffold/runner/runner.go @@ -302,7 +302,7 @@ func (r *SkaffoldRunner) Dev(ctx context.Context, out io.Writer, artifacts []*la // Watch test configuration if err := watcher.Register( func() ([]string, error) { return r.TestDependencies(), nil }, - func() { changed.needsRedeploy = true }, + func(watch.Events) { changed.needsRedeploy = true }, ); err != nil { return nil, errors.Wrap(err, "watching test files") } diff --git a/pkg/skaffold/runner/runner_test.go b/pkg/skaffold/runner/runner_test.go index a2cd8b72a81..d6ea85c979a 100644 --- a/pkg/skaffold/runner/runner_test.go +++ b/pkg/skaffold/runner/runner_test.go @@ -295,15 +295,15 @@ func TestRun(t *testing.T) { }, { description: "run test error", - config: &v1alpha3.SkaffoldConfig{ - Build: v1alpha3.BuildConfig{ - Artifacts: []*v1alpha3.Artifact{ + config: &latest.SkaffoldConfig{ + Build: latest.BuildConfig{ + Artifacts: []*latest.Artifact{ { ImageName: "test", }, }, }, - Test: []v1alpha3.TestCase{ + Test: []latest.TestCase{ { ImageName: "test", StructureTests: []string{"fake_file.yaml"},