diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 8da3fff33..6c0945373 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -25,7 +25,7 @@ go install ./vendor/k8s.io/code-generator/cmd/deepcopy-gen # Depends on generate-groups.sh to install bin/deepcopy-gen ${GOPATH}/bin/deepcopy-gen --input-dirs \ - github.com/knative/pkg/logging,github.com/knative/pkg/webhook/testing \ + github.com/knative/pkg/logging,github.com/knative/pkg/testing \ -O zz_generated.deepcopy \ --go-header-file ${PKG_ROOT}/hack/boilerplate/boilerplate.go.txt diff --git a/webhook/testing/doc.go b/testing/doc.go similarity index 100% rename from webhook/testing/doc.go rename to testing/doc.go diff --git a/webhook/testing/resource.go b/testing/resource.go similarity index 100% rename from webhook/testing/resource.go rename to testing/resource.go diff --git a/webhook/testing/zz_generated.deepcopy.go b/testing/zz_generated.deepcopy.go similarity index 100% rename from webhook/testing/zz_generated.deepcopy.go rename to testing/zz_generated.deepcopy.go diff --git a/webhook/webhook_test.go b/webhook/webhook_test.go index 8bb7ccbda..b8e6c75b1 100644 --- a/webhook/webhook_test.go +++ b/webhook/webhook_test.go @@ -42,7 +42,7 @@ import ( fakekubeclientset "k8s.io/client-go/kubernetes/fake" . "github.com/knative/pkg/logging/testing" - . "github.com/knative/pkg/webhook/testing" + . "github.com/knative/pkg/testing" ) func newDefaultOptions() ControllerOptions {