diff --git a/pkg/functions/client_int_test.go b/pkg/functions/client_int_test.go index 4ce5c2a4fa..6c086f5316 100644 --- a/pkg/functions/client_int_test.go +++ b/pkg/functions/client_int_test.go @@ -552,7 +552,7 @@ func Handle(ctx context.Context, w http.ResponseWriter, req *http.Request) { func newClient(verbose bool) *fn.Client { builder := buildpacks.NewBuilder(buildpacks.WithVerbose(verbose)) pusher := docker.NewPusher(docker.WithVerbose(verbose)) - deployer := knative.NewDeployer(knative.WithDeployerNamespace(DefaultNamespace), knative.WithDeployerVerbose(verbose)) + deployer := knative.NewDeployer(knative.WithDeployerVerbose(verbose)) describer := knative.NewDescriber(DefaultNamespace, verbose) remover := knative.NewRemover(verbose) lister := knative.NewLister(DefaultNamespace, verbose) diff --git a/pkg/knative/integration_test.go b/pkg/knative/integration_test.go index 5df5a18ff1..1644f49d2d 100644 --- a/pkg/knative/integration_test.go +++ b/pkg/knative/integration_test.go @@ -159,7 +159,7 @@ func TestIntegration(t *testing.T) { _ = knative.GetKServiceLogs(ctx, namespace, functionName, function.Deploy.Image, &now, buff) }() - deployer := knative.NewDeployer(knative.WithDeployerNamespace(namespace), knative.WithDeployerVerbose(false)) + deployer := knative.NewDeployer(knative.WithDeployerVerbose(false)) depRes, err := deployer.Deploy(ctx, function) if err != nil { diff --git a/pkg/testing/testing.go b/pkg/testing/testing.go index dbe60494df..9853dac9cb 100644 --- a/pkg/testing/testing.go +++ b/pkg/testing/testing.go @@ -215,9 +215,9 @@ func RunGitServer(root string, t *testing.T) (url string) { } // FromTempDirectory moves the test into a new temporary directory and -// clears all known interfereing environment variables. Returned is the +// clears all known interfering environment variables. Returned is the // path to the somewhat isolated test environment. -// Note that KUBECONFIG is also set to testdata/default_kubeconfig whcih can +// Note that KUBECONFIG is also set to testdata/default_kubeconfig which can // be used for tests which are explicitly checking logic which depends on // kube context. func FromTempDirectory(t *testing.T) string {