From df0d6f22a3f8c4672b5ff55a0eb8074cbaf29390 Mon Sep 17 00:00:00 2001 From: Tim Ramlot <42113979+inteon@users.noreply.github.com> Date: Mon, 10 Jul 2023 11:04:59 +0200 Subject: [PATCH] cleanup go imports Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- cmd/acmesolver/go.mod | 4 ++++ cmd/cainjector/go.mod | 4 ++++ cmd/controller/go.mod | 4 ++++ cmd/webhook/go.mod | 4 ++++ test/e2e/go.mod | 10 ++++++---- 5 files changed, 22 insertions(+), 4 deletions(-) diff --git a/cmd/acmesolver/go.mod b/cmd/acmesolver/go.mod index 8dd0ea667..7154518b9 100644 --- a/cmd/acmesolver/go.mod +++ b/cmd/acmesolver/go.mod @@ -2,6 +2,10 @@ module github.com/cert-manager/cert-manager/acmesolver-binary go 1.20 +// Do not remove this comment: +// please place any replace statements here at the top for visibility and add a +// comment to it as to when it can be removed + replace github.com/cert-manager/cert-manager => ../../ require ( diff --git a/cmd/cainjector/go.mod b/cmd/cainjector/go.mod index 96dc45e7c..7f88e3d62 100644 --- a/cmd/cainjector/go.mod +++ b/cmd/cainjector/go.mod @@ -2,6 +2,10 @@ module github.com/cert-manager/cert-manager/cainjector-binary go 1.20 +// Do not remove this comment: +// please place any replace statements here at the top for visibility and add a +// comment to it as to when it can be removed + replace github.com/cert-manager/cert-manager => ../../ require ( diff --git a/cmd/controller/go.mod b/cmd/controller/go.mod index a2f7c6072..65558bc6c 100644 --- a/cmd/controller/go.mod +++ b/cmd/controller/go.mod @@ -2,6 +2,10 @@ module github.com/cert-manager/cert-manager/controller-binary go 1.20 +// Do not remove this comment: +// please place any replace statements here at the top for visibility and add a +// comment to it as to when it can be removed + replace github.com/cert-manager/cert-manager => ../../ require ( diff --git a/cmd/webhook/go.mod b/cmd/webhook/go.mod index 6f2b4688a..1996cf7e8 100644 --- a/cmd/webhook/go.mod +++ b/cmd/webhook/go.mod @@ -2,6 +2,10 @@ module github.com/cert-manager/cert-manager/webhook-binary go 1.20 +// Do not remove this comment: +// please place any replace statements here at the top for visibility and add a +// comment to it as to when it can be removed + replace github.com/cert-manager/cert-manager => ../../ require ( diff --git a/test/e2e/go.mod b/test/e2e/go.mod index c3d4e05f9..9c02327eb 100644 --- a/test/e2e/go.mod +++ b/test/e2e/go.mod @@ -2,6 +2,12 @@ module github.com/cert-manager/cert-manager/e2e-tests go 1.20 +// Do not remove this comment: +// please place any replace statements here at the top for visibility and add a +// comment to it as to when it can be removed + +replace github.com/cert-manager/cert-manager => ../../ + require ( github.com/cert-manager/cert-manager v0.0.0-00010101000000-000000000000 github.com/cloudflare/cloudflare-go v0.58.1 @@ -100,7 +106,3 @@ require ( sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) - -replace github.com/miekg/dns v1.1.41 => github.com/miekg/dns v1.1.34 - -replace github.com/cert-manager/cert-manager => ../../