diff --git a/pkg/skaffold/render/renderer/kpt/kpt.go b/pkg/skaffold/render/renderer/kpt/kpt.go index d7733020ac0..ad14fb02026 100644 --- a/pkg/skaffold/render/renderer/kpt/kpt.go +++ b/pkg/skaffold/render/renderer/kpt/kpt.go @@ -77,7 +77,6 @@ func New(config *latestV2.RenderConfig, workingDir, hydrationDir string, } func (r *Kpt) Render(ctx context.Context, out io.Writer, builds []graph.Artifact, _ bool, output string) error { - kptfilePath := filepath.Join(r.hydrationDir, kptfile.KptFileName) kfConfig := &kptfile.KptFile{} diff --git a/pkg/skaffold/runner/v2/runner_test.go b/pkg/skaffold/runner/v2/runner_test.go index c9b002b1290..cfa9f0c4c97 100644 --- a/pkg/skaffold/runner/v2/runner_test.go +++ b/pkg/skaffold/runner/v2/runner_test.go @@ -23,7 +23,6 @@ import ( "io" "testing" - "github.com/GoogleContainerTools/skaffold/pkg/skaffold/render/renderer" "github.com/blang/semver" "k8s.io/client-go/tools/clientcmd/api" @@ -41,6 +40,7 @@ import ( "github.com/GoogleContainerTools/skaffold/pkg/skaffold/log" "github.com/GoogleContainerTools/skaffold/pkg/skaffold/platform" "github.com/GoogleContainerTools/skaffold/pkg/skaffold/render/generate" + "github.com/GoogleContainerTools/skaffold/pkg/skaffold/render/renderer" kRenderer "github.com/GoogleContainerTools/skaffold/pkg/skaffold/render/renderer/kubectl" "github.com/GoogleContainerTools/skaffold/pkg/skaffold/runner" v2 "github.com/GoogleContainerTools/skaffold/pkg/skaffold/runner/runcontext/v2"